X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/dc0fb68d25efd03d4536dd3c112d609f8be79ac1..5977791e005446f4cd8b2f04bfb14c8cd265df8a:/uip/inc.c?ds=sidebyside diff --git a/uip/inc.c b/uip/inc.c index c337dde5..ad454e10 100644 --- a/uip/inc.c +++ b/uip/inc.c @@ -156,10 +156,11 @@ static FILE *in; /* * prototypes */ +static int maildir_srt(const void *va, const void *vb) PURE; static void inc_done(int) NORETURN; static int pop_action(void *closure, char *); -int +static int maildir_srt(const void *va, const void *vb) { const struct Maildir_entry *a = va, *b = vb; @@ -376,8 +377,7 @@ main (int argc, char **argv) if (*cp == '+' || *cp == '@') { if (folder) adios (NULL, "only one folder at a time!"); - else - folder = pluspath (cp); + folder = pluspath (cp); } else { adios (NULL, "usage: %s [+folder] [switches]", invo_name); } @@ -556,7 +556,7 @@ main (int argc, char **argv) inform("Creating Receive-Audit: %s", audfile); if ((aud = fopen (audfile, "a")) == NULL) adios (audfile, "unable to append to"); - else if (i == NOTOK) + if (i == NOTOK) chmod (audfile, m_gmprot ()); if (from)