--- nagios-plugins-1.4.2/plugins/check_snmp.c.orig Wed Jun 1 15:41: 01 2005 +++ nagios-plugins-1.4.2/plugins/check_snmp.c Thu Jan 12 18:22: 47 2006 @@ -337,10 +337,17 @@ asprintf (&outbuff, "%s %s", outbuff, unitv[i]); i++; - +#if 0 char *str[MAX_INPUT_BUFFER]; asprintf(str, "=%s%s;;;; ", show, type ? type : ""); strcat(perfstr, *str); +#else + strcat(perfstr, "="); + strcat(perfstr, show); + if (type) + strcat(perfstr, type); + strcat(perfstr, ";;;; "); +#endif } /* end while (ptr) */