diff options
author | FreeArtMan <dos21h@gmail.com> | 2017-05-16 23:05:24 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2017-05-16 23:05:24 +0100 |
commit | b891a3c3793412bad5ae74122ece655fbee06e5d (patch) | |
tree | f7742f5aa764209cddece218b59a61fb550bd133 /sock_conn.c | |
parent | b385fc9a6832f4186f98cde4bd92b7de6ac553b9 (diff) | |
download | agni-b891a3c3793412bad5ae74122ece655fbee06e5d.tar.gz agni-b891a3c3793412bad5ae74122ece655fbee06e5d.zip |
Remove debug prints
Diffstat (limited to 'sock_conn.c')
-rw-r--r-- | sock_conn.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sock_conn.c b/sock_conn.c index 119dd10..c926dd1 100644 --- a/sock_conn.c +++ b/sock_conn.c @@ -499,7 +499,6 @@ int irc_reconnect(irc_conn *conn) irc_conn reconn; - PNL(); if (conn == NULL) { PERM(); @@ -515,7 +514,7 @@ int irc_reconnect(irc_conn *conn) timeout = timeout; fret = irc_open(hostname, port, &reconn); - if (fret==-1) + if (-1 == fret) { ENL(); return -1; @@ -529,7 +528,6 @@ int irc_reconnect(irc_conn *conn) //BUG lets think about this case deeper //free(hostname); //free(port); - PNL(); memcpy(conn, &reconn, sizeof(irc_conn)); |