aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index 4292916b..b1f27e1c 100644
--- a/imap.c
+++ b/imap.c
@@ -689,7 +689,7 @@ int imap_getauth(int sock, struct query *ctl, char *greeting)
if (!newpass)
return(PS_AUTHFAIL); /* should report error better!!!! */
- ok = gen_transact(sock, "LOGIN %s \"%s\"", ctl->remotename, newpass);
+ ok = gen_transact(sock, "LOGIN \"%s\" \"%s\"", ctl->remotename,newpass);
free(newpass);