Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
nagios-plugins
nagios-plugins.check_snmp.arrayaddress.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nagios-plugins.check_snmp.arrayaddress.patch of Package nagios-plugins
Index: plugins/check_snmp.c =================================================================== --- plugins/check_snmp.c.orig 2010-07-27 22:47:16.000000000 +0200 +++ plugins/check_snmp.c 2010-10-08 14:27:58.000000000 +0200 @@ -498,7 +498,7 @@ main (int argc, char **argv) len = sizeof(perfstr)-strlen(perfstr)-1; strncat(perfstr, show, len>ptr-show ? ptr-show : len); - if (type) + if (type[0]) strncat(perfstr, type, sizeof(perfstr)-strlen(perfstr)-1); strncat(perfstr, " ", sizeof(perfstr)-strlen(perfstr)-1); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor