aboutsummaryrefslogtreecommitdiff
path: root/lib/utils_tcp.c
diff options
context:
space:
mode:
authorGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2007-09-22 17:48:33 +0000
committerGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2007-09-22 17:48:33 +0000
commitbb32ecb79c6e4d7161f0bee54e4197fca64d23d6 (patch)
treeaaa5d91b501882da1957c9199e278f2f1f21da0b /lib/utils_tcp.c
parentd23b17e6567d8eb983956b36b31a383f3cc639d2 (diff)
downloadmonitoring-plugins-bb32ecb79c6e4d7161f0bee54e4197fca64d23d6.tar.gz
substituted bool/true/false with int/TRUE/FALSE (discussed on np-devel)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1787 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/utils_tcp.c')
-rw-r--r--lib/utils_tcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/utils_tcp.c b/lib/utils_tcp.c
index b7075197..2fefaf3c 100644
--- a/lib/utils_tcp.c
+++ b/lib/utils_tcp.c
@@ -52,9 +52,9 @@ np_expect_match(char* status, char** server_expect, int expect_count, int all, i
} else
if(verbose) puts("couldn't find it");
}
- if ((all == true && match == expect_count) ||
+ if ((all == TRUE && match == expect_count) ||
(! all && match >= 1)) {
- return true;
+ return TRUE;
} else
- return false;
+ return FALSE;
}