From 2732a931ec6b9acdc4a8cbf6e0a2aca769f34475 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Tue, 28 Aug 2001 21:54:12 +0000 Subject: Don't reveal the user's IMAP password if their server supports 2001-08-28 Peter Williams * camel-remote-store.c (remote_send_string): Don't reveal the user's IMAP password if their server supports LITERALPLUS. Also add some more dashes to make it line up nicely :-) svn path=/trunk/; revision=12503 --- camel/camel-remote-store.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'camel/camel-remote-store.c') diff --git a/camel/camel-remote-store.c b/camel/camel-remote-store.c index c3a6644131..dffea34808 100644 --- a/camel/camel-remote-store.c +++ b/camel/camel-remote-store.c @@ -340,7 +340,9 @@ remote_send_string (CamelRemoteStore *store, CamelException *ex, char *fmt, va_l if (strncmp (cmdbuf, "PASS ", 5) == 0) fprintf (stderr, "sending : PASS xxxx\n"); else if (strstr (cmdbuf, "LOGIN \"")) - fprintf (stderr, "sending : ---- LOGIN \"xxxx\" \"xxxx\"\n"); + fprintf (stderr, "sending : ------ LOGIN \"xxxx\" \"xxxx\"\n"); + else if (strstr (cmdbuf, "LOGIN {")) + fprintf (stderr, "sending : ------ LOGIN {N+} ....\n"); else fprintf (stderr, "sending : %s", cmdbuf); } -- cgit