[Nagiosplug-devel] Nagiosplugins 1.4.11 on HP UX
Holger Weiss
holger at CIS.FU-Berlin.DE
Mon Feb 11 16:47:39 CET 2008
* Matthias.Broenner at systemagmbh.de [2008-02-11 15:28]:
> cc: "utils_base.c", line 108: error 1649: Illegal integer-pointer combination for >.
> cc: "utils_base.c", line 108: error 1563: Expression in if must be scalar.
Ugh, that's indeed broken. A quick and dirty workaround for you would be to
delete the lines 108-111 in utils_base.c:
if (*my_thresholds > 0) { /* Not sure why, but sometimes could be -1 */
/* printf("Freeing here: %d\n", *my_thresholds); */
free(*my_thresholds);
}
Removing these lines creates a minor memory leak, but that won't be a
problem in practice. A proper fix will require a little more work.
Holger
More information about the Devel
mailing list