summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc-files.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-05-15 08:25:45 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-05-15 08:25:45 +0000
commitcbdaf7d06d021a1072363f1a80ff73c7423c7bd8 (patch)
tree067c27c2823ed2825e7fb432b35318659e63e806 /src/irc/dcc/dcc-files.c
parent969cfe8abcdff1047696c22e13c79c1f4c239137 (diff)
downloadirssi-cbdaf7d06d021a1072363f1a80ff73c7423c7bd8.zip
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
Diffstat (limited to 'src/irc/dcc/dcc-files.c')
-rw-r--r--src/irc/dcc/dcc-files.c4
1 files changed, 2 insertions, 2 deletions
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 */