diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/utils_disk.c | 4 | ||||
-rw-r--r-- | lib/utils_tcp.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/utils_disk.c b/lib/utils_disk.c index 3f9c8a9a..9324f5f3 100644 --- a/lib/utils_disk.c +++ b/lib/utils_disk.c | |||
@@ -181,9 +181,9 @@ np_regex_match_mount_entry (struct mount_entry* me, regex_t* re) | |||
181 | { | 181 | { |
182 | if (regexec(re, me->me_devname, (size_t) 0, NULL, 0) == 0 || | 182 | if (regexec(re, me->me_devname, (size_t) 0, NULL, 0) == 0 || |
183 | regexec(re, me->me_mountdir, (size_t) 0, NULL, 0) == 0 ) { | 183 | regexec(re, me->me_mountdir, (size_t) 0, NULL, 0) == 0 ) { |
184 | return true; | 184 | return TRUE; |
185 | } else { | 185 | } else { |
186 | return false; | 186 | return FALSE; |
187 | } | 187 | } |
188 | } | 188 | } |
189 | 189 | ||
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 | |||
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 | } |