summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f745ed4)
raw | patch | inline | side by side (parent: f745ed4)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 31 Mar 2004 22:53:25 +0000 (22:53 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 31 Mar 2004 22:53:25 +0000 (22:53 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@861 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_nt.c | patch | blob | history |
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index 50bf9f03c485be64c557a59c4ec6fcc052cd1986..605d4792b84b282f6a5b438f4dd6679a19f7e4d5 100644 (file)
--- a/plugins/check_nt.c
+++ b/plugins/check_nt.c
if (value_list==NULL)
output_message = strdup (_("missing -l parameters"));
- else if (strlen(value_list)==1)
+ else if (strlen(value_list)!=1)
output_message = strdup (_("wrong -l argument"));
else {
asprintf(&send_buffer,"%s&4&%s", req_password, value_list);