#else
static char credentials[1024];
int status = ssnprintf(credentials, sizeof(credentials), "%s:%s", user,
#else
static char credentials[1024];
int status = ssnprintf(credentials, sizeof(credentials), "%s:%s", user,
if ((status < 0) || ((size_t)status >= sizeof(credentials))) {
ERROR("nginx plugin: Credentials would have been truncated.");
return -1;
if ((status < 0) || ((size_t)status >= sizeof(credentials))) {
ERROR("nginx plugin: Credentials would have been truncated.");
return -1;