summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dircpsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dircpsa.c b/dircpsa.c
index 0b58464..9fbe6cb 100644
--- a/dircpsa.c
+++ b/dircpsa.c
@@ -68,7 +68,7 @@ int main (int argc, char *argv[])
}
if (irc_run(session)) {
- printf("Could not connect or I/O error: %s\n", irc_strerror(irc_errno(s)));
+ printf("Could not connect or I/O error: %s\n", irc_strerror(irc_errno(session)));
return 1;
}