diff options
Diffstat (limited to 'dircpsa.c')
-rw-r--r-- | dircpsa.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -67,8 +67,10 @@ int main (int argc, char *argv[]) return 1; } - if (irc_run(session)) + if (irc_run(session)) { + printf("Could not connect or I/O error: %s\n", irc_strerror(irc_errno(s))); return 1; + } return 0; } |