]> andersk Git - moira.git/blobdiff - clients/addusr/addusr.c
Correctly parse input file when there are multiple spaces after comma
[moira.git] / 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.068105 seconds and 4 git commands to generate.