mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 23:52:22 +02:00
"dcc error file not found" -> "dcc error file open". Print the actual error
message based on errno, don't just assume the file wasn't found. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1471 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
54ffbf9c57
commit
cb28685574
6 changed files with 13 additions and 9 deletions
|
|
@ -203,7 +203,8 @@ static void cmd_dcc_send(const char *data, IRC_SERVER_REC *server,
|
|||
g_free(str);
|
||||
|
||||
if (hfile == -1) {
|
||||
signal_emit("dcc error file not found", 2, target, fname);
|
||||
signal_emit("dcc error file open", 3, target, fname,
|
||||
GINT_TO_POINTER(errno));
|
||||
cmd_params_free(free_arg);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue