diff options
Diffstat (limited to 'sock_conn.c')
-rw-r--r-- | sock_conn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sock_conn.c b/sock_conn.c index 0c206ea..c06bcb2 100644 --- a/sock_conn.c +++ b/sock_conn.c @@ -303,7 +303,7 @@ int irc_connect( char *hostname, char *port ) int irc_open(char *hostname, char *port, irc_conn *conn) { int fd, fret; - struct addrinfo serv, *res; + struct addrinfo serv, *res=NULL;//_res, *res=&_res; if (conn == NULL) { |