From 9281c3d5f7d344dc66fb685f7d83186b665a0f4a Mon Sep 17 00:00:00 2001 From: 0 Date: Tue, 30 Oct 2001 04:29:00 +0000 Subject: Fixed compilation errors. 2001-10-30 * camel-tcp-stream-openssl.c (stream_write): Fixed compilation errors. svn path=/trunk/; revision=14420 --- camel/ChangeLog | 5 +++++ camel/camel-tcp-stream-openssl.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'camel') 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 + + * camel-tcp-stream-openssl.c (stream_write): Fixed compilation + errors. + 2001-10-29 Jeffrey Stedfast * 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; } -- cgit v1.2.3