diff --git a/prog/sensord/rrd.c b/prog/sensord/rrd.c index e15440e1..78706646 100644 --- a/prog/sensord/rrd.c +++ b/prog/sensord/rrd.c @@ -99,7 +99,7 @@ static void rrdCheckLabel(const char *rawLabel, int index0) } else { buffer[i] = '_'; } - ++ i; + ++i; } buffer[i] = '\0'; @@ -108,7 +108,7 @@ static void rrdCheckLabel(const char *rawLabel, int index0) /* locate duplicates */ while (okay && (j < index0)) - okay = strcmp(rrdLabels[j ++], buffer); + okay = strcmp(rrdLabels[j++], buffer); /* uniquify duplicate labels with _? or _?? */ while (!okay) { @@ -449,13 +449,19 @@ int rrdCGI(void) { int ret = 0, i; - printf("#!" RRDCGI "\n\n\n
\n\n \n \nsensord by Merlin Hughes, all credit to the lm_sensors crew.\n \nsensord by "
+ "Merlin Hughes"
+ ", all credit to the "
+ "lm_sensors "
+ "crew.\n