aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-tcp-stream-ssl.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-15 08:51:09 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-15 08:51:09 +0800
commit343844c13863d00b3210d11956056af8b1d367ce (patch)
tree4dcc10acea574a0c04faade1ce13a8e33e150782 /camel/camel-tcp-stream-ssl.c
parent1e9f8b5d127babb1837cf9572ff784a6173be244 (diff)
downloadgsoc2013-evolution-343844c13863d00b3210d11956056af8b1d367ce.tar.gz
gsoc2013-evolution-343844c13863d00b3210d11956056af8b1d367ce.tar.zst
gsoc2013-evolution-343844c13863d00b3210d11956056af8b1d367ce.zip
Eek! So the service's URL isn't set until after this is initialized. This
2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (camel_imap_store_init): Eek! So the service's URL isn't set until after this is initialized. This means we can't check for SSL here. (imap_connect): Set the SSL options here instead. svn path=/trunk/; revision=8715
Diffstat (limited to 'camel/camel-tcp-stream-ssl.c')
-rw-r--r--camel/camel-tcp-stream-ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-tcp-stream-ssl.c b/camel/camel-tcp-stream-ssl.c
index 42c50eccca..e34cef0202 100644
--- a/camel/camel-tcp-stream-ssl.c
+++ b/camel/camel-tcp-stream-ssl.c
@@ -182,7 +182,7 @@ static ssize_t
stream_write (CamelStream *stream, const char *buffer, size_t n)
{
CamelTcpStreamSSL *tcp_stream_ssl = CAMEL_TCP_STREAM_SSL (stream);
- ssize_t written;
+ ssize_t written = 0;
do {
written = PR_Write (tcp_stream_ssl->sockfd, buffer, n);