Browse Source

Adding a comment

Sebastian Wolf 2 năm trước cách đây
mục cha
commit
72dbbb8b79
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;