aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-02-11 19:18:41 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-02-11 19:18:41 +0000
commit2d69b9b093b7aaf9b2d2b97317fc54d0bd6813b7 (patch)
treed69e2f7ca90d0774483bb506901c2ec043c5fdea /driver.c
parentd9285e0f40c27f0808460744cb2ade53ba0a0599 (diff)
downloadfetchmail-2d69b9b093b7aaf9b2d2b97317fc54d0bd6813b7.tar.gz
fetchmail-2d69b9b093b7aaf9b2d2b97317fc54d0bd6813b7.tar.bz2
fetchmail-2d69b9b093b7aaf9b2d2b97317fc54d0bd6813b7.zip
CRAM-MD5 IMAP works.
svn path=/trunk/; revision=3061
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/driver.c b/driver.c
index e6995ce4..ee4d3e5f 100644
--- a/driver.c
+++ b/driver.c
@@ -87,6 +87,7 @@ int pass; /* how many times have we re-polled? */
int stage; /* where are we? */
int phase; /* where are we, for error-logging purposes? */
int mytimeout; /* value of nonreponse timeout */
+int suppress_tags; /* emit tags? */
static const struct method *protocol;
static jmp_buf restart;
@@ -2537,7 +2538,7 @@ va_dcl
char buf [MSGBUFSIZE+1];
va_list ap;
- if (protocol->tagged)
+ if (protocol->tagged && !suppress_tags)
(void) sprintf(buf, "%s ", GENSYM);
else
buf[0] = '\0';
@@ -2623,7 +2624,7 @@ va_dcl
phase = SERVER_WAIT;
- if (protocol->tagged)
+ if (protocol->tagged && !suppress_tags)
(void) sprintf(buf, "%s ", GENSYM);
else
buf[0] = '\0';