Code

updated to POSIX return codes
authorSubhendu Ghosh <sghosh@users.sourceforge.net>
Tue, 18 Jun 2002 01:06:16 +0000 (01:06 +0000)
committerSubhendu Ghosh <sghosh@users.sourceforge.net>
Tue, 18 Jun 2002 01:06:16 +0000 (01:06 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@53 f882894a-f735-0410-b71e-b25c423dba1c

plugins/common.h.in

index 9cb4bcbbd8ef91bf825d24357c756078b7793d59..728170287097f6e033d12bd267136090c677d5bc 100644 (file)
 #define        STATE_CRITICAL  2                               /* service state return codes */
 #define STATE_WARNING  1
 #define STATE_OK               0
-#define STATE_UNKNOWN          -1
-#define STATE_DEPENDENT        -2
+#define STATE_UNKNOWN          3
+#define STATE_DEPENDENT        4
 
 #define DEFAULT_SOCKET_TIMEOUT 10      /* timeout after 10 seconds */