snprintf (prompt, sizeof(prompt), myprompt, invo_name);
for (;;) {
if (!(argp = getans (prompt, aleqs))) {
- unlink (LINK);
+ unlink (altmsglink);
done (1);
}
switch (smatch (*argp, aleqs)) {
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) {
}
-#ifndef CYRUS_SASL
-# define SASLminc(a) (a)
-#else /* CYRUS_SASL */
-# define SASLminc(a) 0
-#endif /* CYRUS_SASL */
-
-#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 },
{ "draftmessage msg", -6 },
#define SNDRFSW 35
{ "nodraftfolder", -3 },
-#define SASLSW 36
- { "sasl", SASLminc(-4) },
-#define SASLMECHSW 37
- { "saslmech", SASLminc(-5) },
-#define USERSW 38
- { "user", SASLminc(-4) },
#define SNDATTACHSW 39
{ "attach file", 6 },
#define SNDATTACHFORMAT 40
{ "attachformat", 7 },
#define PORTSW 41
{ "port server-port-name/number", 4 },
-#define TLSSW 42
- { "tls", TLSminc(-3) },
{ NULL, 0 }
};
case SSNDSW:
case SOMLSW:
case SNOOPSW:
- case SASLSW:
- case TLSSW:
vec[vecp++] = --cp;
continue;
case WIDTHSW:
case CLIESW:
case SERVSW:
- case SASLMECHSW:
- case USERSW:
case PORTSW:
vec[vecp++] = --cp;
if (!(cp = *argp++) || *cp == '-') {