aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/smtp
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-12-01 07:43:39 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-12-01 07:43:39 +0800
commit0c3435a0e11086b8c9d39d87596ffe5ce7f5b133 (patch)
tree9d361c2e57913c76cfa7f9641726a7103c79e77f /camel/providers/smtp
parentad9d11c750290405cad22ba46b0f26ed3bb73155 (diff)
downloadgsoc2013-evolution-0c3435a0e11086b8c9d39d87596ffe5ce7f5b133.tar
gsoc2013-evolution-0c3435a0e11086b8c9d39d87596ffe5ce7f5b133.tar.gz
gsoc2013-evolution-0c3435a0e11086b8c9d39d87596ffe5ce7f5b133.tar.bz2
gsoc2013-evolution-0c3435a0e11086b8c9d39d87596ffe5ce7f5b133.tar.lz
gsoc2013-evolution-0c3435a0e11086b8c9d39d87596ffe5ce7f5b133.tar.xz
gsoc2013-evolution-0c3435a0e11086b8c9d39d87596ffe5ce7f5b133.tar.zst
gsoc2013-evolution-0c3435a0e11086b8c9d39d87596ffe5ce7f5b133.zip
Don't use regex matching. Fixes bug #16227.
2001-11-29 Jeffrey Stedfast <fejj@ximian.com> * camel-folder-search.c (search_body_contains): Don't use regex matching. Fixes bug #16227. * camel-mime-message.c (best_encoding): Check the content-object's mime type, not the mime part types. Should fix bug #15843. 2001-11-27 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (get_content): Return NULL if construct_from_stream fails. (get_message): Same. (get_message_simple): Here too. (add_message_from_data): And here. svn path=/trunk/; revision=14834
Diffstat (limited to 'camel/providers/smtp')
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c
index 73dfbea344..78509fad28 100644
--- a/camel/providers/smtp/camel-smtp-transport.c
+++ b/camel/providers/smtp/camel-smtp-transport.c
@@ -406,8 +406,7 @@ smtp_connect (CamelService *service, CamelException *ex)
while (!authenticated) {
if (errbuf) {
/* We need to un-cache the password before prompting again */
- camel_session_forget_password (
- session, service, "password", ex);
+ camel_session_forget_password (session, service, "password", ex);
g_free (service->url->passwd);
service->url->passwd = NULL;
}
@@ -419,10 +418,8 @@ smtp_connect (CamelService *service, CamelException *ex)
errbuf ? errbuf : "", service->url->user,
service->url->host);
- service->url->passwd =
- camel_session_get_password (
- session, prompt, TRUE,
- service, "password", ex);
+ service->url->passwd = camel_session_get_password (session, prompt, TRUE,
+ service, "password", ex);
g_free (prompt);
g_free (errbuf);