diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-06-26 08:18:23 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-06-26 08:18:23 +0800 |
commit | 3570cc5bbf3c5d3b10d578a0f8444d95e57eb4d3 (patch) | |
tree | 9ca85931cb4c9f5847a06daa68b4154a3c477e52 /camel/providers/smtp | |
parent | b44b57aa7e6be672c60b095e65525ed42d6cc94a (diff) | |
download | gsoc2013-evolution-3570cc5bbf3c5d3b10d578a0f8444d95e57eb4d3.tar gsoc2013-evolution-3570cc5bbf3c5d3b10d578a0f8444d95e57eb4d3.tar.gz gsoc2013-evolution-3570cc5bbf3c5d3b10d578a0f8444d95e57eb4d3.tar.bz2 gsoc2013-evolution-3570cc5bbf3c5d3b10d578a0f8444d95e57eb4d3.tar.lz gsoc2013-evolution-3570cc5bbf3c5d3b10d578a0f8444d95e57eb4d3.tar.xz gsoc2013-evolution-3570cc5bbf3c5d3b10d578a0f8444d95e57eb4d3.tar.zst gsoc2013-evolution-3570cc5bbf3c5d3b10d578a0f8444d95e57eb4d3.zip |
g_strdup() the message source here or we will have problems later when we
2001-06-25 Jeffrey Stedfast <fejj@ximian.com>
* camel-filter-search.c (get_source): g_strdup() the message
source here or we will have problems later when we go to free the
result ;-)
svn path=/trunk/; revision=10498
Diffstat (limited to 'camel/providers/smtp')
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index 30bb9d5c80..48b4250185 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -688,7 +688,7 @@ smtp_helo (CamelSmtpTransport *transport, CamelException *ex) if (!respbuf || strncmp (respbuf, "250", 3)) { int error; - + error = respbuf ? atoi (respbuf) : 0; g_free (respbuf); camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM, @@ -949,7 +949,7 @@ smtp_data (CamelSmtpTransport *transport, CamelMedium *message, gboolean has_8bi get_smtp_error_string (error)); return FALSE; } - + g_free (respbuf); respbuf = NULL; |