From cbdaf7d06d021a1072363f1a80ff73c7423c7bd8 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 15 May 2000 08:25:45 +0000 Subject: Lots of changes again. Biggest ones: - window's text buffer should work better - themes are almost working, you can change the text formats with /format - automatically try to rejoin the channel after 5 minutes if the join there failed because it was "temporarily unavailable" (netsplits) - generally cleaning code.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@216 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/dcc/dcc-files.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/irc/dcc/dcc-files.c') diff --git a/src/irc/dcc/dcc-files.c b/src/irc/dcc/dcc-files.c index 8ccdb11a..5acd35c9 100644 --- a/src/irc/dcc/dcc-files.c +++ b/src/irc/dcc/dcc-files.c @@ -513,7 +513,7 @@ static void cmd_dcc_send(gchar *data, IRC_SERVER_REC *server, WI_IRC_REC *item) if (net_getsockname(chat != NULL ? chat->handle : server->handle, &addr, NULL) == -1) { close(fh); - cmd_param_error(CMDERR_GETSOCKNAME); + cmd_param_error(CMDERR_ERRNO); } /* start listening */ @@ -522,7 +522,7 @@ static void cmd_dcc_send(gchar *data, IRC_SERVER_REC *server, WI_IRC_REC *item) if (h == -1) { close(fh); - cmd_param_error(CMDERR_LISTEN); + cmd_param_error(CMDERR_ERRNO); } /* skip path */ -- cgit v1.2.3