[Nagiosplug-checkins] CVS: nagiosplug/plugins check_snmp.c,1.2,1.3
Subhendu Ghosh
sghosh at users.sourceforge.net
Mon Jun 24 13:42:04 CEST 2002
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory usw-pr-cvs1:/tmp/cvs-serv8463
Modified Files:
check_snmp.c
Log Message:
printf bug for large numbers - Jeff Murray
Index: check_snmp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_snmp.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** check_snmp.c 19 Jun 2002 05:11:52 -0000 1.2
--- check_snmp.c 24 Jun 2002 20:41:25 -0000 1.3
***************
*** 222,226 ****
response_value[i] = strtoul (p2, NULL, 10);
iresult = check_num (i);
! show = ssprintf (show, "%d", response_value[i]);
}
--- 222,226 ----
response_value[i] = strtoul (p2, NULL, 10);
iresult = check_num (i);
! show = ssprintf (show, "%lu", response_value[i]);
}
More information about the Commits
mailing list