From 99e3cbc526cff605f32d61c0b4be77a8b2dbaa9f Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 10 Oct 2013 12:35:30 +0000 Subject: [PATCH] Use format_get_command() and some spacing tweaks. --- client.c | 1 + job.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client.c b/client.c index 3b929b71..0f2d3684 100644 --- a/client.c +++ b/client.c @@ -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(); diff --git a/job.c b/job.c index 0ae03b31..e8006308 100644 --- a/job.c +++ b/job.c @@ -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);