X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fnginx.c;h=0da66ce2e94525902008090a31d3d148fb18a51a;hp=15e56fbc327f4c1cf6fcd2433abc73611e54478d;hb=48efd3deb4c9139fd060ff3d289896e9031bcc7c;hpb=abaa1c8a24e8eff5632dd6052b1da5f6535caf19 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;