Bug from code-clean (Antony Simmonds - 846311)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@777 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
Ton Voon 2003-11-24 14:53:46 +00:00
parent 87e8399401
commit abc7b9b5be

View file

@ -132,7 +132,7 @@ main (int argc, char **argv)
temp_buffer = strtok (input_buffer, "=");
temp_buffer = strtok (NULL, "=");
if (temp_buffer != NULL) {
if (temp_buffer == NULL) {
result = STATE_UNKNOWN;
strcpy (errmsg, input_buffer);