Various minor style and spacing nits.

This commit is contained in:
nicm
2014-09-01 21:50:18 +00:00
parent e075198049
commit 4e956d545a
14 changed files with 21 additions and 21 deletions

View File

@ -124,14 +124,14 @@ cmdq_guard(struct cmd_q *cmdq, const char *guard, int flags)
struct client *c = cmdq->client;
if (c == NULL)
return 0;
return (0);
if (!(c->flags & CLIENT_CONTROL))
return 0;
return (0);
evbuffer_add_printf(c->stdout_data, "%%%s %ld %u %d\n", guard,
(long) cmdq->time, cmdq->number, flags);
server_push_stdout(c);
return 1;
return (1);
}
/* Add command list to queue and begin processing if needed. */