Explorar o código

Adding a comment

Sebastian Wolf %!s(int64=2) %!d(string=hai) anos
pai
achega
72dbbb8b79
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plugins/check_snmp.c

+ 1 - 1
plugins/check_snmp.c

@@ -500,7 +500,7 @@ main (int argc, char **argv)
 			ptr = strpbrk(show, "(");
 			if (ptr == NULL)
 				die (STATE_UNKNOWN,_("No valid data returned (%s)\n"), show);
-			ptr++;
+			ptr++; /* Move to the first character after the '(' */
 			
 			while (i >= response_size) {
 				response_size += OID_COUNT_STEP;