src/sslconn.c

changeset 14229
17cf4faa355c
parent 14228
2c0faf176ab3
child 14241
7b47f525742a
--- a/src/sslconn.c	Thu Aug 17 15:19:12 2006 +0000
+++ b/src/sslconn.c	Thu Aug 17 15:46:58 2006 +0000
@@ -71,7 +71,6 @@
 {
 	GaimSslConnection *gsc;
 	GaimSslOps *ops;
-	void (*connect_func)(GaimSslConnection *gsc);
 
 	gsc = data;
 	gsc->connect_info = NULL;
@@ -88,8 +87,7 @@
 	gsc->fd = source;
 
 	ops = gaim_ssl_get_ops();
-	connect_func = (ops->connect);
-	connect_func(gsc);
+	(ops->connect)(gsc);
 }
 
 GaimSslConnection *
@@ -160,7 +158,6 @@
 {
 	GaimSslConnection *gsc;
 	GaimSslOps *ops;
-	void (*connect_func)(GaimSslConnection *gsc);
 
 	g_return_val_if_fail(fd != -1,                NULL);
 	g_return_val_if_fail(func != NULL,            NULL);
@@ -180,8 +177,7 @@
 	gsc->fd              = fd;
 
 	ops = gaim_ssl_get_ops();
-	connect_func = ops->connect;
-	connect_func(gsc);
+	(ops->connect)(gsc);
 
 	return (GaimSslConnection *)gsc;
 }

mercurial