summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index 50bf9f0..605d479 100644
--- a/plugins/check_nt.c
+++ b/plugins/check_nt.c
@@ -180,7 +180,7 @@ int main(int argc, char **argv){
180 180
181 if (value_list==NULL) 181 if (value_list==NULL)
182 output_message = strdup (_("missing -l parameters")); 182 output_message = strdup (_("missing -l parameters"));
183 else if (strlen(value_list)==1) 183 else if (strlen(value_list)!=1)
184 output_message = strdup (_("wrong -l argument")); 184 output_message = strdup (_("wrong -l argument"));
185 else { 185 else {
186 asprintf(&send_buffer,"%s&4&%s", req_password, value_list); 186 asprintf(&send_buffer,"%s&4&%s", req_password, value_list);