]> diplodocus.org Git - nmh/blobdiff - uip/rmf.c
Replace strlen("foo") with LEN("foo").
[nmh] / uip / rmf.c
index ec2f8fa0dae2b49f9140f35ab0d3c8eccfbccf40..5450fd69d6c828dab883579270c9d60864908049 100644 (file)
--- a/uip/rmf.c
+++ b/uip/rmf.c
@@ -72,8 +72,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);
        }
@@ -164,7 +163,7 @@ rmf (char *folder)
                if (strcmp (dp->d_name, ".") == 0
                        || strcmp (dp->d_name, "..") == 0)
                    continue;
-               /* FALLTHRU */
+               break;
 
            case ',': 
                break;