projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the -[no]watch flags of send and post.
[mmh]
/
uip
/
send.c
diff --git
a/uip/send.c
b/uip/send.c
index
06058e8
..
c454f76
100644
(file)
--- a/
uip/send.c
+++ b/
uip/send.c
@@
-22,7
+22,6
@@
#include <time.h>
int debugsw = 0; /* global */
#include <time.h>
int debugsw = 0; /* global */
-int verbsw = 0;
char *altmsg = NULL;
char *annotext = NULL;
char *distfile = NULL;
char *altmsg = NULL;
char *annotext = NULL;
char *distfile = NULL;
@@
-61,13
+60,9
@@
static struct swit switches[] = {
{ "verbose", 0 },
#define NVERBSW 3
{ "noverbose", 2 },
{ "verbose", 0 },
#define NVERBSW 3
{ "noverbose", 2 },
-#define WATCSW 4
- { "watch", 0 },
-#define NWATCSW 5
- { "nowatch", 2 },
-#define VERSIONSW 6
+#define VERSIONSW 4
{ "Version", 0 },
{ "Version", 0 },
-#define HELPSW 7
+#define HELPSW 5
{ "help", 0 },
{ NULL, 0 }
};
{ "help", 0 },
{ NULL, 0 }
};
@@
-88,10
+83,7
@@
main(int argc, char **argv)
struct stat st;
struct stat st2;
struct stat st;
struct stat st2;
-
-#ifdef LOCALE
setlocale(LC_ALL, "");
setlocale(LC_ALL, "");
-#endif
invo_name = mhbasename(argv[0]);
/* read user profile/context */
invo_name = mhbasename(argv[0]);
/* read user profile/context */
@@
-122,19
+114,11
@@
main(int argc, char **argv)
print_version(invo_name);
done(1);
print_version(invo_name);
done(1);
+ case DEBUGSW:
+ debugsw++;
+ /* fall */
case VERBSW:
case VERBSW:
- verbsw++;
- vec[vecp++] = --cp;
- continue;
case NVERBSW:
case NVERBSW:
- verbsw = 0;
- vec[vecp++] = --cp;
- continue;
-
- case DEBUGSW:
- debugsw++; /* fall */
- case WATCSW:
- case NWATCSW:
vec[vecp++] = --cp;
continue;
vec[vecp++] = --cp;
continue;