Commit 1dc0d3d3 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor change to prevent compiler warning.

parent 0b11075c
...@@ -92,7 +92,7 @@ main(int argc, char **argv) ...@@ -92,7 +92,7 @@ main(int argc, char **argv)
if(!server) if(!server)
usage(); usage();
event_args[0] = NULL; event_args[0] = '\0';
while(argc) { while(argc) {
strncat(event_args,argv[0],sizeof(event_args)); strncat(event_args,argv[0],sizeof(event_args));
strncat(event_args," ",sizeof(event_args)); strncat(event_args," ",sizeof(event_args));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment