mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 15:12:11 +02:00
Make the compiler happy by replacing 'const char *' by 'char *'.
Pass the pointer to the SERVER_REC to dcc_ctcp_message. Recode 'own' messages back for printing just before they actually get printed. (ugly but more effective than adding all the signals in fe-recode and doing it there) Replaced SERVER_REC by IRC_SERVER_REC in dcc-chat.c since it's belongs to IRC(makes the compiler happy again). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4034 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
c701330433
commit
fd476e8b31
6 changed files with 51 additions and 71 deletions
|
|
@ -399,8 +399,7 @@ static void ctcp_msg_dcc_send(IRC_SERVER_REC *server, const char *data,
|
|||
GET_DCC_REC *dcc;
|
||||
SEND_DCC_REC *temp_dcc;
|
||||
IPADDR ip;
|
||||
const char *address;
|
||||
char **params, *fname;
|
||||
char *address, **params, *fname;
|
||||
int paramcount, fileparams;
|
||||
int port, len, quoted = FALSE;
|
||||
uoff_t size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue