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 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);