X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8a5a1a5303ddc67f06350a57a515853724a16e31..a37e496eeca84e0ea3fc1c7a95b013541a443cee:/uip/new.c diff --git a/uip/new.c b/uip/new.c index 080f065f..c1c7999a 100644 --- a/uip/new.c +++ b/uip/new.c @@ -14,8 +14,8 @@ #include #include #include -#include "../sbr/lock_file.h" -#include "../sbr/m_maildir.h" +#include "sbr/lock_file.h" +#include "sbr/m_maildir.h" #define NEW_SWITCHES \ X("mode", 1, MODESW) \ @@ -75,19 +75,19 @@ count_messages(char *field) return total; } -/* Return TRUE if the sequence 'name' is in 'sequences'. */ -static boolean +/* Return true if the sequence 'name' is in 'sequences'. */ +static bool seq_in_list(char *name, char *sequences[]) { int i; 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 @@ -225,11 +225,11 @@ check_folder(char *folder, size_t len, struct list_state *b) } } -static boolean +static bool crawl_callback(char *folder, void *baton) { check_folder(folder, strlen(folder), baton); - return TRUE; + return true; } /* Scan folders, returning: