mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
/SET dcc_file_create_mode wasn't used. Also print strerror() message if
creation fails. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2949 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
4ed5e9adf6
commit
55c2e7a066
3 changed files with 18 additions and 12 deletions
|
|
@ -72,9 +72,11 @@ static void dcc_closed(GET_DCC_REC *dcc)
|
|||
}
|
||||
}
|
||||
|
||||
static void dcc_error_file_create(GET_DCC_REC *dcc, const char *fname)
|
||||
static void dcc_error_file_create(GET_DCC_REC *dcc, const char *fname,
|
||||
const char *error)
|
||||
{
|
||||
printformat(NULL, NULL, MSGLEVEL_DCC, IRCTXT_DCC_CANT_CREATE, fname);
|
||||
printformat(NULL, NULL, MSGLEVEL_DCC, IRCTXT_DCC_CANT_CREATE,
|
||||
fname, error);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue