X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnginx.c;h=0da66ce2e94525902008090a31d3d148fb18a51a;hb=2e7789de20623d03d9ca42ec0b3ecbb8114c13e1;hp=15e56fbc327f4c1cf6fcd2433abc73611e54478d;hpb=abaa1c8a24e8eff5632dd6052b1da5f6535caf19;p=collectd.git diff --git a/src/nginx.c b/src/nginx.c index 15e56fbc..0da66ce2 100644 --- a/src/nginx.c +++ b/src/nginx.c @@ -123,7 +123,7 @@ static int init(void) { #else static char credentials[1024]; int status = ssnprintf(credentials, sizeof(credentials), "%s:%s", user, - pass == NULL ? "" : pass); + pass == NULL ? "" : pass); if ((status < 0) || ((size_t)status >= sizeof(credentials))) { ERROR("nginx plugin: Credentials would have been truncated."); return -1;