]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixes string handling in birdc.
authorOndrej Zajicek <santiago@crfreenet.org>
Mon, 13 Dec 2010 10:17:11 +0000 (11:17 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Mon, 13 Dec 2010 10:17:11 +0000 (11:17 +0100)
client/client.c

index 9acabf21e54fefc8d8c0271b327f26d0355d82c6..7f9e0ef4b0077e06ec31637ffb2038b5610f8aa6 100644 (file)
@@ -96,6 +96,7 @@ parse_args(int argc, char **argv)
          tmp += strlen(tmp);
          *tmp++ = ' ';
        }
+      tmp[-1] = 0;
 
       once = 1;
     }