summaryrefslogtreecommitdiffstats
path: root/lib/utils_tcp.c
diff options
context:
space:
mode:
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 b707519..2fefaf3 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
52 } else 52 } else
53 if(verbose) puts("couldn't find it"); 53 if(verbose) puts("couldn't find it");
54 } 54 }
55 if ((all == true && match == expect_count) || 55 if ((all == TRUE && match == expect_count) ||
56 (! all && match >= 1)) { 56 (! all && match >= 1)) {
57 return true; 57 return TRUE;
58 } else 58 } else
59 return false; 59 return FALSE;
60} 60}