X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsyslog.c;h=90a97fb52fff8a27598332f60ac3a2525e945086;hb=7111bb6df7628edce3a8e538b386fbe27633a191;hp=55de164bc42a7e9d890d12cedb09c2da92477c17;hpb=be126043c2be20399d7670fe194645292018bde0;p=collectd.git diff --git a/src/syslog.c b/src/syslog.c index 55de164b..90a97fb5 100644 --- a/src/syslog.c +++ b/src/syslog.c @@ -107,7 +107,7 @@ static int sl_notification(const notification_t *n, #define BUFFER_ADD(...) \ do { \ - status = snprintf(&buf[offset], sizeof(buf) - offset, __VA_ARGS__); \ + status = snprintf(&buf[offset], sizeof(buf) - offset, __VA_ARGS__); \ if (status < 1) \ return -1; \ else if (((size_t)status) >= (sizeof(buf) - offset)) \