X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=uip%2Frcvstore.c;h=8121e2d12f9060c89f55499d85b4d7c02b04f7d3;hb=5f2b39344cca1086c975d47b730929d8f1904214;hp=ba3cfccd497fad9e3a336427591d156111811337;hpb=a7771fd2e83d64228fb675749fc936151249dbd3;p=mmh diff --git a/uip/rcvstore.c b/uip/rcvstore.c index ba3cfcc..8121e2d 100644 --- a/uip/rcvstore.c +++ b/uip/rcvstore.c @@ -11,29 +11,28 @@ #include #include #include -#include static struct swit switches[] = { #define CRETSW 0 { "create", 0 }, #define NCRETSW 1 - { "nocreate", 0 }, + { "nocreate", 2 }, #define UNSEENSW 2 { "unseen", 0 }, #define NUNSEENSW 3 - { "nounseen", 0 }, + { "nounseen", 2 }, #define PUBSW 4 { "public", 0 }, #define NPUBSW 5 - { "nopublic", 0 }, + { "nopublic", 2 }, #define ZEROSW 6 { "zero", 0 }, #define NZEROSW 7 - { "nozero", 0 }, + { "nozero", 2 }, #define SEQSW 8 { "sequence name", 0 }, #define VERSIONSW 9 - { "version", 0 }, + { "Version", 0 }, #define HELPSW 10 { "help", 0 }, { NULL, 0 } @@ -52,7 +51,8 @@ main(int argc, char **argv) { int publicsw = -1, zerosw = 0; int create = 1, unseensw = 1; - int fd, msgnum, seqp = 0; + int fd, msgnum; + size_t seqp = 0; char *cp, *maildir, *folder = NULL, buf[BUFSIZ]; char **argp, **arguments, *seqs[NUMATTRS+1]; struct msgs *mp; @@ -68,7 +68,6 @@ main(int argc, char **argv) /* read user profile/context */ context_read(); - mts_init(invo_name); arguments = getarguments(invo_name, argc, argv, 1); argp = arguments;