Removed #ifndef RAND/#endif that no longer had any effect.
[mmh] / uip / folder.c
index f3b4ba4..aea20f4 100644 (file)
@@ -151,10 +151,10 @@ main (int argc, char **argv)
                    snprintf (buf, sizeof(buf), "%s [+folder] [msg] [switches]",
                        invo_name);
                    print_help (buf, switches, 1);
-                   done (1);
+                   done (0);
                case VERSIONSW:
                    print_version(invo_name);
-                   done (1);
+                   done (0);
 
                case ALLSW: 
                    all = 1;
@@ -457,9 +457,9 @@ get_folder_info_body (char *fold, char *msg, boolean *crawl_children)
 static boolean
 get_folder_info_callback (char *fold, void *baton)
 {
+    boolean crawl_children;
     NMH_UNUSED (baton);
 
-    boolean crawl_children;
     get_folder_info_body (fold, NULL, &crawl_children);
     fflush (stdout);
     return crawl_children;