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

Surround startup command in '' to allow for arbitrary arguments to

passed to the client.
parent 3180d656
......@@ -959,7 +959,7 @@ dostartcmd(int sock, struct in_addr ipaddr, char *request, int tcp)
mysql_free_result(res);
return 0;
}
sprintf(buf, "CMD=%s UID=", row[0]);
sprintf(buf, "CMD='%s' UID=", row[0]);
mysql_free_result(res);
/*
......
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