--- plugins/check_snmp.c.orig Sat Oct 1 13:45:45 2005 +++ plugins/check_snmp.c Sat Oct 1 13:46:15 2005 @@ -206,6 +206,7 @@ strcat(perfstr, "| "); while (ptr) { char *foo; + char *str[MAX_INPUT_BUFFER]; foo = strstr (ptr, delimiter); strncat(perfstr, ptr, foo-ptr); @@ -338,7 +339,6 @@ i++; - char *str[MAX_INPUT_BUFFER]; asprintf(str, "=%s%s;;;; ", show, type ? type : ""); strcat(perfstr, *str);