]> diplodocus.org Git - nmh/blobdiff - uip/inc.c
Use va_copy() to get a copy of va_list, instead of using original.
[nmh] / uip / inc.c
index d65c46fbad8eb54f56428614005d8cea2750d061..44d6193543fe865a942affd03bdab5448d019a6e 100644 (file)
--- a/uip/inc.c
+++ b/uip/inc.c
@@ -99,7 +99,7 @@ static struct Maildir_entry {
        time_t mtime;
 } *Maildir = NULL;
 static int num_maildir_entries = 0;
-static int snoop = 0;
+static bool snoop;
 
 typedef struct {
     FILE *mailout;
@@ -329,7 +329,7 @@ main (int argc, char **argv)
                continue;
 
            case SNOOPSW:
-               snoop++;
+               snoop = true;
                continue;
        
            case SASLSW: