diff src/sslconn.c @ 6745:57a24492434b

[gaim-migrate @ 7277] compile for windows.. committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Thu, 04 Sep 2003 23:08:57 +0000
parents 6c95f01aaf49
children 818ce550d2ce
line wrap: on
line diff
--- a/src/sslconn.c	Thu Sep 04 21:48:15 2003 +0000
+++ b/src/sslconn.c	Thu Sep 04 23:08:57 2003 +0000
@@ -122,7 +122,7 @@
 		gaim_input_remove(gsc->inpa);
 
 	if (ops != NULL && ops->close != NULL)
-		ops->close(gsc);
+		(ops->close)(gsc);
 
 	if (gsc->fd)
 		close(gsc->fd);
@@ -144,8 +144,8 @@
 
 	ops = gaim_ssl_get_ops();
 
-	if (ops != NULL && ops->read != NULL)
-		return ops->read(gsc, data, len);
+	if (ops != NULL && (ops->read) != NULL)
+		return (ops->read)(gsc, data, len);
 
 	return 0;
 }
@@ -161,8 +161,8 @@
 
 	ops = gaim_ssl_get_ops();
 
-	if (ops != NULL && ops->write != NULL)
-		return ops->write(gsc, data, len);
+	if (ops != NULL && (ops->write) != NULL)
+		return (ops->write)(gsc, data, len);
 
 	return 0;
 }