X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Flogfile.c;h=a7cda3a1ef44c68df1efdf616a7b6cd25af72a57;hb=89fc8d1d16779841bd693020d9035aa5f35f127d;hp=63448cb6c4e9f61cc611c71ed2c37840d160e17e;hpb=8d913d388c069a43ca92683b60c86607630ee9bd;p=collectd.git diff --git a/src/logfile.c b/src/logfile.c index 63448cb6..a7cda3a1 100644 --- a/src/logfile.c +++ b/src/logfile.c @@ -196,7 +196,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; \