diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-09-20 06:09:36 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-09-20 06:09:36 +0800 |
commit | f9329be8eee2a0d467e74eeb951506923699feae (patch) | |
tree | 34ac674f092507ed7e80b2281ad5f4135c6b69ac /camel/camel-tcp-stream-ssl.c | |
parent | 6fe66715f9b25dd6a1d9567c0da9e97cadf64003 (diff) | |
download | gsoc2013-evolution-f9329be8eee2a0d467e74eeb951506923699feae.tar.gz gsoc2013-evolution-f9329be8eee2a0d467e74eeb951506923699feae.tar.zst gsoc2013-evolution-f9329be8eee2a0d467e74eeb951506923699feae.zip |
Oops, don't fail if `data' isn't a CamelService...cuz it's not supposed to
2001-09-19 Jeffrey Stedfast <fejj@ximian.com>
* camel-tcp-stream-ssl.c (ssl_bad_cert): Oops, don't fail if
`data' isn't a CamelService...cuz it's not supposed to be! It's a
CamelTcpStreamSSL object...doh!
svn path=/trunk/; revision=12992
Diffstat (limited to 'camel/camel-tcp-stream-ssl.c')
-rw-r--r-- | camel/camel-tcp-stream-ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-tcp-stream-ssl.c b/camel/camel-tcp-stream-ssl.c index 057e4d59cc..c5d1766ca8 100644 --- a/camel/camel-tcp-stream-ssl.c +++ b/camel/camel-tcp-stream-ssl.c @@ -343,7 +343,7 @@ ssl_bad_cert (void *data, PRFileDesc *sockfd) gboolean accept; g_return_val_if_fail (data != NULL, SECFailure); - g_return_val_if_fail (CAMEL_IS_SERVICE (data), SECFailure); + g_return_val_if_fail (CAMEL_IS_TCP_STREAM_SSL (data), SECFailure); ssl = CAMEL_TCP_STREAM_SSL (data); service = ssl->priv->service; |