summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-12-13 11:17:11 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-12-13 11:17:11 +0100
commit154e2aeded13f46666a69b7a7241149c43ebc01f (patch)
treeb576943322546eff1d496d6635e0de59aef59876
parente91f6960bae16314e9429719c2c2321edb484a44 (diff)
Fixes string handling in birdc.
-rw-r--r--client/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/client.c b/client/client.c
index 9acabf21..7f9e0ef4 100644
--- a/client/client.c
+++ b/client/client.c
@@ -96,6 +96,7 @@ parse_args(int argc, char **argv)
tmp += strlen(tmp);
*tmp++ = ' ';
}
+ tmp[-1] = 0;
once = 1;
}