X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0b8537894774336d38e014b9358f65d40c4d48b7..ddf3a8574f657dcb8c53fc5908e7bebbde1994b5:/uip/new.c?ds=sidebyside diff --git a/uip/new.c b/uip/new.c index f4e08e7f..8e61e772 100644 --- a/uip/new.c +++ b/uip/new.c @@ -12,6 +12,10 @@ #include #include "h/mh.h" +#include "sbr/m_getfld.h" +#include "sbr/getarguments.h" +#include "sbr/concat.h" +#include "sbr/smatch.h" #include "sbr/r1bindex.h" #include "sbr/trimcpy.h" #include "sbr/vfgets.h" @@ -25,7 +29,7 @@ #include "sbr/print_version.h" #include "sbr/print_help.h" #include "sbr/error.h" -#include "h/crawl_folders.h" +#include "sbr/crawl_folders.h" #include "h/done.h" #include "h/utils.h" #include "sbr/lock_file.h" @@ -131,7 +135,7 @@ get_msgnums(char *folder, char *sequences[]) seqfile = concat(m_maildir(folder), "/", mh_seq, NULL); if (seqfile == NULL) - return NULL; + return NULL; if ((fp = lkfopendata (seqfile, "r", & failed_to_lock)) == NULL) { if (failed_to_lock)