mirror of
https://github.com/irssi/irssi.git
synced 2026-08-21 17:42:49 +02:00
Fix compile warnings
This commit is contained in:
parent
17ecad8285
commit
67d343fd3a
3 changed files with 3 additions and 3 deletions
|
|
@ -170,7 +170,7 @@ GIOChannel *net_connect(const char *addr, int port, IPADDR *my_ip)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Connect to socket with ip address */
|
/* Connect to socket with ip address */
|
||||||
GIOChannel *net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip)
|
GIOChannel *net_connect_ip(const IPADDR *ip, int port, IPADDR *my_ip)
|
||||||
{
|
{
|
||||||
union sockaddr_union so;
|
union sockaddr_union so;
|
||||||
int handle, ret, opt = 1;
|
int handle, ret, opt = 1;
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ GIOChannel *net_connect_proxy_ssl(const struct network_proxy *proxy, const char
|
||||||
IPADDR *ip, IPADDR *my_ip, SERVER_REC *server);
|
IPADDR *ip, IPADDR *my_ip, SERVER_REC *server);
|
||||||
int irssi_ssl_handshake(GIOChannel *handle);
|
int irssi_ssl_handshake(GIOChannel *handle);
|
||||||
/* Connect to socket with ip address */
|
/* Connect to socket with ip address */
|
||||||
GIOChannel *net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip);
|
GIOChannel *net_connect_ip(const IPADDR *ip, int port, IPADDR *my_ip);
|
||||||
GIOChannel *net_connect_proxy(const struct network_proxy *proxy, const char *host, int port,
|
GIOChannel *net_connect_proxy(const struct network_proxy *proxy, const char *host, int port,
|
||||||
IPADDR *ip, IPADDR *my_ip);
|
IPADDR *ip, IPADDR *my_ip);
|
||||||
/* Connect to named UNIX socket */
|
/* Connect to named UNIX socket */
|
||||||
|
|
|
||||||
|
|
@ -227,7 +227,7 @@ static void server_real_connect(SERVER_REC *server, IPADDR *ip,
|
||||||
net_connect_proxy_ssl(server->connrec->proxy,
|
net_connect_proxy_ssl(server->connrec->proxy,
|
||||||
server->connrec->address, port,
|
server->connrec->address, port,
|
||||||
ip, own_ip,
|
ip, own_ip,
|
||||||
server->connrec) :
|
server) :
|
||||||
net_connect_proxy(server->connrec->proxy,
|
net_connect_proxy(server->connrec->proxy,
|
||||||
server->connrec->address, port,
|
server->connrec->address, port,
|
||||||
ip, own_ip);
|
ip, own_ip);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue