From f1d03e76ef1a192002f226c747fa2003c2e96f0b Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 21 Sep 2011 16:26:28 +0200 Subject: pingu_host: end status dump with a '\n' instead of '\0' --- pingu_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pingu_host.c') diff --git a/pingu_host.c b/pingu_host.c index 5146f51..a86007f 100644 --- a/pingu_host.c +++ b/pingu_host.c @@ -119,7 +119,7 @@ void pingu_host_dump_status(int fd) snprintf(buf, sizeof(buf), "%s: %i\n", host->label, host->status); write(fd, buf, strlen(buf)); } - write(fd, "", 1); + write(fd, "\n", 1); } int pingu_host_init(struct ev_loop *loop) -- cgit v1.2.3