aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
author0 <NotZed@Ximian.com>2001-10-30 12:29:00 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-30 12:29:00 +0800
commit9281c3d5f7d344dc66fb685f7d83186b665a0f4a (patch)
tree9bab1d2e6245217c529ace40abe92eb3db5eaf99 /camel
parentebb0b8379056b39f4e2693d9de9bb6ec124cf0dd (diff)
downloadgsoc2013-evolution-9281c3d5f7d344dc66fb685f7d83186b665a0f4a.tar.gz
gsoc2013-evolution-9281c3d5f7d344dc66fb685f7d83186b665a0f4a.tar.zst
gsoc2013-evolution-9281c3d5f7d344dc66fb685f7d83186b665a0f4a.zip
Fixed compilation errors.
2001-10-30 <NotZed@Ximian.com> * camel-tcp-stream-openssl.c (stream_write): Fixed compilation errors. svn path=/trunk/; revision=14420
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-tcp-stream-openssl.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 407f05eb14..81c2eab6de 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-30 <NotZed@Ximian.com>
+
+ * camel-tcp-stream-openssl.c (stream_write): Fixed compilation
+ errors.
+
2001-10-29 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (camel_mime_utils_init): Removed unused
diff --git a/camel/camel-tcp-stream-openssl.c b/camel/camel-tcp-stream-openssl.c
index e7dab0aaf7..929db60e8f 100644
--- a/camel/camel-tcp-stream-openssl.c
+++ b/camel/camel-tcp-stream-openssl.c
@@ -285,7 +285,7 @@ stream_write (CamelStream *stream, const char *buffer, size_t n)
do {
w = SSL_write (ssl, buffer + written, n - written);
if (w < 0)
- ssl_error_to_errno (SSL_get_error (ssl, w));
+ ssl_error_to_errno (ssl, SSL_get_error (ssl, w));
} while (w < 0 && (errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK));
if (w > 0)
@@ -323,7 +323,7 @@ stream_write (CamelStream *stream, const char *buffer, size_t n)
w = 0;
} else {
error = errno;
- fcntl (tcp_stream_raw->sockfd, F_SETFL, flags);
+ fcntl (tcp_stream_openssl->priv->sockfd, F_SETFL, flags);
errno = error;
return -1;
}