X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Flogfile.c;h=11797182639e35902be3e431022f667d9eb99839;hb=55ef2778ade050e2924eeb027c98feea103f1585;hp=b75ecb8b39878843b5ca4abf21d89db38e2fa155;hpb=f7f5868ee0378791ccd8d1788e27ebf2a02737dc;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; \