summaryrefslogtreecommitdiff
path: root/lib/feed2imap/imap.rb
diff options
context:
space:
mode:
authorlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2006-02-13 20:58:39 +0000
committerlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2006-02-13 20:58:39 +0000
commite4a177729121f189a051f0b496812bf810fd4be1 (patch)
treea8c0f28a0b5dabc029bd6fa961a51278562ba6bd /lib/feed2imap/imap.rb
parenta447f2129a5c2ce4eac92b249e5881cc88a90494 (diff)
downloadfeed2imap-e4a177729121f189a051f0b496812bf810fd4be1.tar.gz
feed2imap-e4a177729121f189a051f0b496812bf810fd4be1.tar.bz2
feed2imap-e4a177729121f189a051f0b496812bf810fd4be1.zip
don't display password in errror messages
git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@86 f70e237a-67f3-0310-a06c-d2b8a7116972
Diffstat (limited to '')
-rw-r--r--lib/feed2imap/imap.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/feed2imap/imap.rb b/lib/feed2imap/imap.rb
index 6957489..ca81a9f 100644
--- a/lib/feed2imap/imap.rb
+++ b/lib/feed2imap/imap.rb
@@ -114,7 +114,9 @@ class ImapAccount
# convert to string
def to_s
- uri.to_s
+ u2 = uri.clone
+ u2.password = nil
+ u2.to_s
end
# remove mails in a folder according to a criteria