]> diplodocus.org Git - nmh/blobdiff - uip/rmf.c
Bump up size of two static char[] so gcc knows they won't overflow.
[nmh] / uip / rmf.c
index 1dfa6974fbad8e320f37e35adcc870ffdbf45452..cede3b0991d64a3f9db3ca09aaa6ecd514a8b400 100644 (file)
--- a/uip/rmf.c
+++ b/uip/rmf.c
@@ -1,5 +1,4 @@
-/*
- * rmf.c -- remove a folder
+/* rmf.c -- remove a folder
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -8,6 +7,8 @@
 
 #include <h/mh.h>
 #include <h/utils.h>
+#include "../sbr/m_maildir.h"
+#include "../sbr/m_mktemp.h"
 
 #define RMF_SWITCHES \
     X("interactive", 0, INTRSW) \
@@ -163,7 +164,7 @@ rmf (char *folder)
                if (strcmp (dp->d_name, ".") == 0
                        || strcmp (dp->d_name, "..") == 0)
                    continue;
-               /* FALLTHRU */
+               break;
 
            case ',': 
                break;