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

Fix small error that was causing agent to not listen for any events

other than the first object name.
parent 457baf04
......@@ -102,9 +102,9 @@ main(int argc, char **argv)
fatal("Too many agents listed");
agentnames[numagents] = optarg;
if (!strlen(agentlist))
if (strlen(agentlist))
strcat(agentlist, ",");
strcpy(agentlist, optarg);
strcat(agentlist, optarg);
Supports Markdown
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