compile fixes. (camel_tcp_stream_openssl_enable_ssl): Check to make sure
authorJeffrey Stedfast <fejj@ximian.com>
Wed, 6 Mar 2002 22:32:17 +0000 (22:32 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Wed, 6 Mar 2002 22:32:17 +0000 (22:32 +0000)
commit66f29152d2dc97a1216deec4e19e6233caee7b71
tree01973671962bef602d7071b864ff6aae7979e27d
parent04c7408bf123cd91ae5b7dbcce2259d58757e139
compile fixes. (camel_tcp_stream_openssl_enable_ssl): Check to make sure

2002-03-06  Jeffrey Stedfast  <fejj@ximian.com>

* camel-tcp-stream-openssl.c: compile fixes.
(camel_tcp_stream_openssl_enable_ssl): Check to make sure that the
sockfd != -1, it's not enough to check that it is non-zero. Also
set the sockfd to -1 on fail (open_ssl_connection will close the
sockfd on fail).
camel/ChangeLog
camel/camel-tcp-stream-openssl.c