X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fascent.c;h=174a2118e7c2ba4aaa823b10c6f216cc4cc0ac6b;hp=678a4a152fcc97bde1620681dc12a27cc1f00654;hb=e746ad785774de37a30302fef65f1c4aaf8698ab;hpb=f81a5a84d3d5fc941b624c28b1ab70971cc23ac9 diff --git a/src/ascent.c b/src/ascent.c index 678a4a15..174a2118 100644 --- a/src/ascent.c +++ b/src/ascent.c @@ -500,7 +500,7 @@ static int ascent_init(void) /* {{{ */ int status; status = snprintf(credentials, sizeof(credentials), "%s:%s", user, - (pass == NULL) ? "" : pass); + (pass == NULL) ? "" : pass); if ((status < 0) || ((size_t)status >= sizeof(credentials))) { ERROR("ascent plugin: ascent_init: Returning an error because the " "credentials have been truncated.");