projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added test-slocal.
[mmh]
/
uip
/
rmf.c
diff --git
a/uip/rmf.c
b/uip/rmf.c
index
1cacbc4
..
c9a04f5
100644
(file)
--- a/
uip/rmf.c
+++ b/
uip/rmf.c
@@
-2,8
+2,6
@@
/*
* rmf.c -- remove a folder
*
/*
* rmf.c -- remove a folder
*
- * $Id$
- *
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
* complete copyright information.
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
* complete copyright information.
@@
-61,10
+59,10
@@
main (int argc, char **argv)
snprintf (buf, sizeof(buf), "%s [+folder] [switches]",
invo_name);
print_help (buf, switches, 1);
snprintf (buf, sizeof(buf), "%s [+folder] [switches]",
invo_name);
print_help (buf, switches, 1);
- done (1);
+ done (0);
case VERSIONSW:
print_version(invo_name);
case VERSIONSW:
print_version(invo_name);
- done (1);
+ done (0);
case INTRSW:
interactive = 1;
case INTRSW:
interactive = 1;
@@
-122,7
+120,8
@@
main (int argc, char **argv)
}
}
context_save (); /* save the context file */
}
}
context_save (); /* save the context file */
- return done (0);
+ done (0);
+ return 1;
}
static int
}
static int
@@
-170,13
+169,6
@@
rmf (char *folder)
continue; /* else fall */
case ',':
continue; /* else fall */
case ',':
-#ifdef MHE
- case '+':
-#endif /* MHE */
-#ifdef UCI
- case '_':
- case '#':
-#endif /* UCI */
break;
default:
break;
default: