diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-03-14 00:09:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-03-14 00:09:16 +0000 |
commit | 3a501db74967d4c31aa749e1baec8aa7bdef96e4 (patch) | |
tree | ab9e12b7ebd0ab3b6ca7fe2b61159b249a726190 /imap.c | |
parent | 07921aefa96266949a198f6b43726369c42bed66 (diff) | |
download | fetchmail-3a501db74967d4c31aa749e1baec8aa7bdef96e4.tar.gz fetchmail-3a501db74967d4c31aa749e1baec8aa7bdef96e4.tar.bz2 fetchmail-3a501db74967d4c31aa749e1baec8aa7bdef96e4.zip |
Shrouding is now done over a narrower scope.
svn path=/trunk/; revision=3252
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -375,7 +375,9 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting) imap_canonicalize(remotename, ctl->remotename, NAMELEN); imap_canonicalize(password, ctl->password, PASSWORDLEN); + imap_canonicalize(shroud, ctl->password, PASSWORDLEN); ok = gen_transact(sock, "LOGIN \"%s\" \"%s\"", remotename, password); + shroud[0] = '\0'; } if (ok) @@ -827,7 +829,6 @@ const static struct method imap = TRUE, /* this is a tagged protocol */ FALSE, /* no message delimiter */ imap_ok, /* parse command response */ - imap_canonicalize, /* deal with embedded slashes and spaces */ imap_getauth, /* get authorization */ imap_getrange, /* query range of messages */ imap_getsizes, /* get sizes of messages (used for ESMTP SIZE option) */ |