File nagios-plugins.check_snmp.arrayaddress.patch of Package nagios-plugins
--- plugins/check_snmp.c +++ plugins/check_snmp.c @@ -373,7 +373,7 @@ strncat(perfstr, "=", sizeof(perfstr)-strlen(perfstr)-1); strncat(perfstr, show, sizeof(perfstr)-strlen(perfstr)-1); - if (type) + if (type[0]) strncat(perfstr, type, sizeof(perfstr)-strlen(perfstr)-1); strncat(perfstr, " ", sizeof(perfstr)-strlen(perfstr)-1); }