# HG changeset patch # User Daniel Atallah # Date 1155829618 0 # Node ID 8160857cd958b761451f9f493291b89c0e45c74f # Parent fcae2cfe26ebd7276c3744d20451c7e2fba9bc8d [gaim-migrate @ 16817] nosnilmot pointed out that I'm an idiot and this is a far less ugly way to achieve the same goal. (I swear I tried it first, but must have not actually saved the file when I tested it). committer: Tailor Script diff -r fcae2cfe26eb -r 8160857cd958 src/sslconn.c --- 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; }