[Nagiosplug-checkins] CVS: nagiosplug/plugins negate.c,1.5,1.6
Ton Voon
tonvoon at users.sourceforge.net
Tue Mar 11 14:30:08 CET 2003
- Previous message: [Nagiosplug-checkins] CVS: nagiosplug/plugins check_by_ssh.c,1.9,1.10 check_dig.c,1.8,1.9 check_disk.c,1.10,1.11 check_dns.c,1.9,1.10 check_fping.c,1.4,1.5 check_hpjd.c,1.8,1.9 check_http.c,1.25,1.26 check_ide-smart.c,1.1.1.1,1.2 check_ldap.c,1.4,1.5 check_load.c,1.6,1.7 check_mrtg.c,1.4,1.5 check_mrtgtraf.c,1.4,1.5 check_mysql.c,1.7,1.8 check_nagios.c,1.4,1.5 check_nt.c,1.8,1.9 check_nwstat.c,1.4,1.5 check_overcr.c,1.2,1.3 check_pgsql.c,1.8,1.9 check_ping.c,1.13,1.14 check_procs.c,1.9,1.10 check_radius.c,1.4,1.5 check_real.c,1.4,1.5 check_smtp.c,1.11,1.12 check_snmp.c,1.24,1.25 check_ssh.c,1.6,1.7 check_swap.c,1.9,1.10 check_tcp.c,1.13,1.14 check_time.c,1.4,1.5 check_udp.c,1.5,1.6 check_ups.c,1.6,1.7 check_users.c,1.3,1.4 check_vsz.c,1.6,1.7
- Next message: [Nagiosplug-checkins] CVS: nagiosplug/plugins negate.c,1.5,1.5.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv11890
Modified Files:
negate.c
Log Message:
Fixed reading too many argv parameters and changed to asprintf
Index: negate.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/negate.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** negate.c 12 Feb 2003 22:29:43 -0000 1.5
--- negate.c 11 Mar 2003 22:29:46 -0000 1.6
***************
*** 260,265 ****
}
! command_line = strscpy (command_line, argv[optind]);
! for (c = optind+1; c <= argc; c++) {
asprintf (&command_line, "%s %s", command_line, argv[c]);
}
--- 260,265 ----
}
! asprintf (&command_line, "%s", argv[optind]);
! for (c = optind+1; c < argc; c++) {
asprintf (&command_line, "%s %s", command_line, argv[c]);
}
- Previous message: [Nagiosplug-checkins] CVS: nagiosplug/plugins check_by_ssh.c,1.9,1.10 check_dig.c,1.8,1.9 check_disk.c,1.10,1.11 check_dns.c,1.9,1.10 check_fping.c,1.4,1.5 check_hpjd.c,1.8,1.9 check_http.c,1.25,1.26 check_ide-smart.c,1.1.1.1,1.2 check_ldap.c,1.4,1.5 check_load.c,1.6,1.7 check_mrtg.c,1.4,1.5 check_mrtgtraf.c,1.4,1.5 check_mysql.c,1.7,1.8 check_nagios.c,1.4,1.5 check_nt.c,1.8,1.9 check_nwstat.c,1.4,1.5 check_overcr.c,1.2,1.3 check_pgsql.c,1.8,1.9 check_ping.c,1.13,1.14 check_procs.c,1.9,1.10 check_radius.c,1.4,1.5 check_real.c,1.4,1.5 check_smtp.c,1.11,1.12 check_snmp.c,1.24,1.25 check_ssh.c,1.6,1.7 check_swap.c,1.9,1.10 check_tcp.c,1.13,1.14 check_time.c,1.4,1.5 check_udp.c,1.5,1.6 check_ups.c,1.6,1.7 check_users.c,1.3,1.4 check_vsz.c,1.6,1.7
- Next message: [Nagiosplug-checkins] CVS: nagiosplug/plugins negate.c,1.5,1.5.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list