X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fdist.c;h=b7799beb7067e50cb65c5c3e371a62dbc258d4f2;hb=5e5e8b753acc7ff1e16c7fca172a2151a6c01353;hp=169eacd88c69ff7d65e4980642d2160a648ac4e3;hpb=46d843745041d6e852be2ae57de9261ae4e5f399;p=mmh diff --git a/uip/dist.c b/uip/dist.c index 169eacd..b7799be 100644 --- a/uip/dist.c +++ b/uip/dist.c @@ -89,7 +89,7 @@ main (int argc, char **argv) int anot = 0, inplace = 1, nedit = 0; int nwhat = 0, i, in, isdf = 0, out; int outputlinelen = OUTPUTLINELEN; - int dat[5], atfile = 1; + int dat[5], atfile = 0; char *cp, *cwd, *maildir, *msgnam, *dfolder = NULL; char *dmsg = NULL, *ed = NULL, *file = NULL, *folder = NULL; char *form = NULL, *msg = NULL, buf[BUFSIZ], drft[BUFSIZ]; @@ -122,10 +122,10 @@ main (int argc, char **argv) snprintf (buf, sizeof(buf), "%s [+folder] [msg] [switches]", invo_name); print_help (buf, switches, 1); - done (1); + done (0); case VERSIONSW: print_version(invo_name); - done (1); + done (0); case ANNOSW: anot++; @@ -344,8 +344,8 @@ try_it_again: if (nwhat) done (0); - what_now (ed, nedit, NOUSE, drft, atfile ? msgnam : NULL, 1, mp, - anot ? "Resent" : NULL, inplace, cwd); + what_now (ed, nedit, NOUSE, drft, msgnam, 1, mp, anot ? "Resent" : NULL, + inplace, cwd, atfile); done (1); return 1; }