X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fwhatnowsbr.c;h=f5f78d74b494b7419d11b5bc1b567ba82d3135f7;hp=cb48bfdc6662a94330bc4357b197f7afda8ef687;hb=e87123959d15f3b190494dffdd8bce335c137874;hpb=156d35f6425bea4c1ed3c4c79783dc613379c65b diff --git a/uip/whatnowsbr.c b/uip/whatnowsbr.c index cb48bfd..f5f78d7 100644 --- a/uip/whatnowsbr.c +++ b/uip/whatnowsbr.c @@ -246,7 +246,7 @@ WhatNow (int argc, char **argv) snprintf (prompt, sizeof(prompt), myprompt, invo_name); for (;;) { if (!(argp = getans (prompt, aleqs))) { - unlink (LINK); + unlink (altmsglink); done (1); } switch (smatch (*argp, aleqs)) { @@ -667,9 +667,9 @@ editfile (char **ed, char **arg, char *file, int use, struct msgs *mp, else snprintf (altpath, sizeof(altpath), "%s/%s", mp->foldpath, altmsg); if (cwd == NULL) - strncpy (linkpath, LINK, sizeof(linkpath)); + strncpy (linkpath, altmsglink, sizeof(linkpath)); else - snprintf (linkpath, sizeof(linkpath), "%s/%s", cwd, LINK); + snprintf (linkpath, sizeof(linkpath), "%s/%s", cwd, altmsglink); } if (altmsg) { @@ -977,12 +977,6 @@ check_draft (char *msgnam) } -#ifndef TLS_SUPPORT -# define TLSminc(a) (a) -#else /* TLS_SUPPORT */ -# define TLSminc(a) 0 -#endif /* TLS_SUPPORT */ - static struct swit sendswitches[] = { #define ALIASW 0 { "alias aliasfile", 0 }, @@ -1062,8 +1056,6 @@ static struct swit sendswitches[] = { { "attachformat", 7 }, #define PORTSW 41 { "port server-port-name/number", 4 }, -#define TLSSW 42 - { "tls", TLSminc(-3) }, { NULL, 0 } }; @@ -1217,7 +1209,6 @@ sendit (char *sp, char **arg, char *file, int pushed) case SSNDSW: case SOMLSW: case SNOOPSW: - case TLSSW: vec[vecp++] = --cp; continue;