X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Flogfile.c;h=11797182639e35902be3e431022f667d9eb99839;hb=1fc00932fd49fa535551cc4bba09c4e4be059ab4;hp=b75ecb8b39878843b5ca4abf21d89db38e2fa155;hpb=21a4ddcc2d66eea59224fd95746c7533b1b1a46d;p=collectd.git diff --git a/src/logfile.c b/src/logfile.c index b75ecb8b..11797182 100644 --- a/src/logfile.c +++ b/src/logfile.c @@ -201,7 +201,7 @@ static int logfile_notification (const notification_t *n, #define APPEND(bufptr, buflen, key, value) \ if ((buflen > 0) && (strlen (value) > 0)) { \ - int status = ssnprintf (bufptr, buflen, ", %s = %s", key, value); \ + status = ssnprintf (bufptr, buflen, ", %s = %s", key, value); \ if (status > 0) { \ bufptr += status; \ buflen -= status; \