Use format_get_command() and some spacing tweaks.

pull/1/head
nicm 2013-10-10 12:35:30 +00:00
parent b85de1ddb3
commit 99e3cbc526
2 changed files with 2 additions and 1 deletions

View File

@ -351,6 +351,7 @@ client_send_identify(int flags)
for (ss = environ; *ss != NULL; ss++)
client_write_one(MSG_IDENTIFY_ENVIRON, -1, *ss, strlen(*ss) + 1);
client_write_one(MSG_IDENTIFY_DONE, -1, NULL, 0);
client_update_event();

2
job.c
View File

@ -145,7 +145,7 @@ job_write_callback(unused struct bufferevent *bufev, void *data)
size_t len = EVBUFFER_LENGTH(EVBUFFER_OUTPUT(job->event));
log_debug("job write %p: %s, pid %ld, output left %zu", job, job->cmd,
(long) job->pid, len);
(long) job->pid, len);
if (len == 0) {
shutdown(job->fd, SHUT_WR);