X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Flogfile.c;h=de9b1f75b19512632ef7a9649470fca5ac637620;hb=47cb204f324be21ae54084fbe9e338d854b87bf5;hp=d7d011c1f5cfde4ed94db5a3780815255b79692f;hpb=be126043c2be20399d7670fe194645292018bde0;p=collectd.git diff --git a/src/logfile.c b/src/logfile.c index d7d011c1..de9b1f75 100644 --- a/src/logfile.c +++ b/src/logfile.c @@ -177,7 +177,7 @@ static int logfile_notification(const notification_t *n, #define APPEND(bufptr, buflen, key, value) \ if ((buflen > 0) && (strlen(value) > 0)) { \ - status = snprintf(bufptr, buflen, ", %s = %s", key, value); \ + status = snprintf(bufptr, buflen, ", %s = %s", key, value); \ if (status > 0) { \ bufptr += status; \ buflen -= status; \