Prechádzať zdrojové kódy

chore: removed an unneeded comment

root 1 rok pred
rodič
commit
6470116529
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      plugins/check_snmp.c

+ 1 - 1
plugins/check_snmp.c

@@ -505,7 +505,7 @@ main (int argc, char **argv)
 		if (thlds[i]->warning || thlds[i]->critical || calculate_rate || is_ticks || offset != 0.0 || multiplier != 1.0) {
 			/* Find the first instance of the '(' character - the value of the OID should be contained in parens */
 			if ((ptr = strpbrk(show, "(")) != NULL) { /* Timetick */
-				ptr++; /* Move to the first character after the '(' */
+				ptr++;
 			} else if ((ptr = strpbrk(show, "-0123456789")) == NULL) { /* Counter, gauge, or integer */
 				die (STATE_UNKNOWN,_("No valid data returned (%s)\n"), show);
 			}