]> diplodocus.org Git - nmh/blobdiff - uip/new.c
folder_pack.c: Flip if-condition so return moves from else block.
[nmh] / uip / new.c
index 137f2bcbc4514668d6c2c0f3990442e0d83ae586..a787806d2abf19ec1ff3090700d778acab058255 100644 (file)
--- a/uip/new.c
+++ b/uip/new.c
@@ -75,7 +75,7 @@ count_messages(char *field)
     return total;
 }
 
-/* Return TRUE if the sequence 'name' is in 'sequences'. */
+/* Return true if the sequence 'name' is in 'sequences'. */
 static bool
 seq_in_list(char *name, char *sequences[])
 {
@@ -83,11 +83,11 @@ seq_in_list(char *name, char *sequences[])
 
     for (i = 0; sequences[i] != NULL; i++) {
        if (strcmp(name, sequences[i]) == 0) {
-           return TRUE;
+           return true;
        }
     }
 
-    return FALSE;
+    return false;
 }
 
 /* Return the string list of message numbers from the sequences file, or NULL
@@ -229,7 +229,7 @@ static bool
 crawl_callback(char *folder, void *baton)
 {
     check_folder(folder, strlen(folder), baton);
-    return TRUE;
+    return true;
 }
 
 /* Scan folders, returning: