|
|
@@ -599,17 +599,6 @@ main (int argc, char **argv)
|
|
|
strncat(perfstr, temp_string, sizeof(perfstr)-strlen(perfstr)-1);
|
|
|
}
|
|
|
|
|
|
- if (warning_thresholds) {
|
|
|
- strncat(perfstr, ";", sizeof(perfstr)-strlen(perfstr)-1);
|
|
|
- strncat(perfstr, warning_thresholds, sizeof(perfstr)-strlen(perfstr)-1);
|
|
|
- }
|
|
|
-
|
|
|
- if (critical_thresholds) {
|
|
|
- if (!warning_thresholds) strncat(perfstr, ";", sizeof(perfstr)-strlen(perfstr)-1);
|
|
|
- strncat(perfstr, ";", sizeof(perfstr)-strlen(perfstr)-1);
|
|
|
- strncat(perfstr, critical_thresholds, sizeof(perfstr)-strlen(perfstr)-1);
|
|
|
- }
|
|
|
-
|
|
|
if (type)
|
|
|
strncat(perfstr, type, sizeof(perfstr)-strlen(perfstr)-1);
|
|
|
|