summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index 25645ea..8d66092 100644
--- a/plugins/check_nt.c
+++ b/plugins/check_nt.c
@@ -142,7 +142,7 @@ int main(int argc, char **argv){
142 /* -l parameters is present with only integers */ 142 /* -l parameters is present with only integers */
143 return_code=STATE_OK; 143 return_code=STATE_OK;
144 temp_string = strdup (_("CPU Load")); 144 temp_string = strdup (_("CPU Load"));
145 temp_string_perf = strdup (_(" ")); 145 temp_string_perf = strdup (" ");
146 146
147 /* loop until one of the parameters is wrong or not present */ 147 /* loop until one of the parameters is wrong or not present */
148 while (lvalue_list[0+offset]> (unsigned long)0 && 148 while (lvalue_list[0+offset]> (unsigned long)0 &&
@@ -239,7 +239,7 @@ int main(int argc, char **argv){
239 else { 239 else {
240 preparelist(value_list); /* replace , between services with & to send the request */ 240 preparelist(value_list); /* replace , between services with & to send the request */
241 asprintf(&send_buffer,"%s&%u&%s&%s", req_password,(vars_to_check==CHECK_SERVICESTATE)?5:6, 241 asprintf(&send_buffer,"%s&%u&%s&%s", req_password,(vars_to_check==CHECK_SERVICESTATE)?5:6,
242 (show_all==TRUE)?_("ShowAll"):_("ShowFail"),value_list); 242 (show_all==TRUE) ? "ShowAll" : "ShowFail",value_list);
243 fetch_data (server_address, server_port, send_buffer); 243 fetch_data (server_address, server_port, send_buffer);
244 return_code=atoi(strtok(recv_buffer,"&")); 244 return_code=atoi(strtok(recv_buffer,"&"));
245 temp_string=strtok(NULL,"&"); 245 temp_string=strtok(NULL,"&");
@@ -316,7 +316,7 @@ int main(int argc, char **argv){
316 asprintf (&output_message, "%.f", counter_value); 316 asprintf (&output_message, "%.f", counter_value);
317 else if (isPercent) 317 else if (isPercent)
318 { 318 {
319 counter_unit = strdup (_("%")); 319 counter_unit = strdup ("%");
320 allRight = TRUE; 320 allRight = TRUE;
321 } 321 }
322 322