]> andersk Git - moira.git/commitdiff
Correctly parse input file when there are multiple spaces after comma
authorzacheiss <zacheiss>
Wed, 23 Mar 2005 21:11:21 +0000 (21:11 +0000)
committerzacheiss <zacheiss>
Wed, 23 Mar 2005 21:11:21 +0000 (21:11 +0000)
separating last and first/middle names.

clients/addusr/addusr.c

index 820adfc261eff7c43dea98c7ce58d16cb3002505..31dd22944495713b4f2de60f649d61ba5aef7d65 100644 (file)
@@ -200,7 +200,7 @@ int main(int argc, char **argv)
          continue;
        }
       *p++ = '\0';
-      first = p;
+      first = strtrim(p);
       while (*p)               /* find end-of-line */
        p++;
       if (reg_only || reg)
This page took 0.399442 seconds and 5 git commands to generate.