From 4b0610e317ee95fce8642d3cb8d7e94415cc05b7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 14 Apr 2016 11:51:28 +0100 Subject: [PATCH] no patching unrelated stuff From original patch by hawken93 3 Oct 2014 --- src/core/network.c | 2 +- src/core/network.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/network.c b/src/core/network.c index 9f0aee01..cb1a966e 100644 --- a/src/core/network.c +++ b/src/core/network.c @@ -146,7 +146,7 @@ GIOChannel *net_connect(const char *addr, int port, IPADDR *my_ip) } /* Connect to socket with ip address */ -GIOChannel *net_connect_ip(IPADDR const *ip, int port, IPADDR *my_ip) +GIOChannel *net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip) { union sockaddr_union so; int handle, ret, opt = 1; diff --git a/src/core/network.h b/src/core/network.h index a7804b1a..513a367f 100644 --- a/src/core/network.h +++ b/src/core/network.h @@ -40,11 +40,11 @@ int net_ip_compare(IPADDR *ip1, IPADDR *ip2); /* Connect to socket */ GIOChannel *net_connect(const char *addr, int port, IPADDR *my_ip); /* Connect to socket with ip address and SSL*/ -GIOChannel *net_connect_ip(IPADDR const *ip, int port, IPADDR *my_ip); GIOChannel *net_connect_proxy_ssl(struct network_proxy const *proxy, char const *host, int port, IPADDR *ip, IPADDR *my_ip, SERVER_REC *server); int irssi_ssl_handshake(GIOChannel *handle); /* Connect to socket with ip address */ +GIOChannel *net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip); GIOChannel *net_connect_proxy(struct network_proxy const *proxy, char const *host, int port, IPADDR *ip, IPADDR *my_ip); /* Connect to named UNIX socket */ GIOChannel *net_connect_unix(const char *path);