aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-02-25 04:30:00 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-02-25 04:30:00 +0800
commit910eaf99d2cc3e0d7de73973b2047755a9a00fa7 (patch)
treee6cec6cb6b3a116935aedfbc447a7784b53ab7cf /camel/providers
parent4b4eb5589a35b2ac2a98b825b055d0472f72fc42 (diff)
downloadgsoc2013-evolution-910eaf99d2cc3e0d7de73973b2047755a9a00fa7.tar
gsoc2013-evolution-910eaf99d2cc3e0d7de73973b2047755a9a00fa7.tar.gz
gsoc2013-evolution-910eaf99d2cc3e0d7de73973b2047755a9a00fa7.tar.bz2
gsoc2013-evolution-910eaf99d2cc3e0d7de73973b2047755a9a00fa7.tar.lz
gsoc2013-evolution-910eaf99d2cc3e0d7de73973b2047755a9a00fa7.tar.xz
gsoc2013-evolution-910eaf99d2cc3e0d7de73973b2047755a9a00fa7.tar.zst
gsoc2013-evolution-910eaf99d2cc3e0d7de73973b2047755a9a00fa7.zip
Don't write the passwd, fixes "bug" #38601.
2003-02-24 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-stream.c (stream_write): Don't write the passwd, fixes "bug" #38601. svn path=/trunk/; revision=20045
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/pop3/camel-pop3-stream.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/camel/providers/pop3/camel-pop3-stream.c b/camel/providers/pop3/camel-pop3-stream.c
index 23b9b1e040..cb27bece26 100644
--- a/camel/providers/pop3/camel-pop3-stream.c
+++ b/camel/providers/pop3/camel-pop3-stream.c
@@ -148,9 +148,12 @@ static ssize_t
stream_write(CamelStream *stream, const char *buffer, size_t n)
{
CamelPOP3Stream *is = (CamelPOP3Stream *)stream;
-
- dd(printf("POP3_STREAM_WRITE(%d):\n%.*s\n", n, (int)n, buffer));
-
+
+ if (strncmp (buffer, "PASS ", 5) != 0)
+ dd(printf("POP3_STREAM_WRITE(%d):\n%.*s\n", n, (int)n, buffer));
+ else
+ dd(printf("POP3_STREAM_WRITE(%d):\nPASS xxxxxxxx\n", n));
+
return camel_stream_write(is->source, buffer, n);
}