From f1478a3d6d6e84357f4f3c9871bec807e7c342c5 Mon Sep 17 00:00:00 2001 From: ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ Date: Mon, 13 Jan 2020 10:10:25 +0800 Subject: When it quits IRC right, it shouldn't report error --- dircpsa.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dircpsa.c b/dircpsa.c index e68b91b..461c91d 100644 --- a/dircpsa.c +++ b/dircpsa.c @@ -67,11 +67,8 @@ int main (int argc, char *argv[]) return 1; } - if (irc_run(session)) { - printf ("Could not connect or I/O error: %s\n" - , irc_strerror(irc_errno(session))); + if (irc_run(session)) return 1; - } return 1; } -- cgit v1.3