summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc-get.c
diff options
context:
space:
mode:
authorValentin Batz <senneth@irssi.org>2005-10-10 18:32:32 +0000
committervb <vb@dbcabf3a-b0e7-0310-adc4-f8d773084564>2005-10-10 18:32:32 +0000
commitfd476e8b319dc7a1d4271ec339df9deb752dc055 (patch)
tree8109bfada50669eec00874a832eaf21e5e2637e3 /src/irc/dcc/dcc-get.c
parentc701330433d9c85dbf7f2078d56a8529c904e1b5 (diff)
downloadirssi-fd476e8b319dc7a1d4271ec339df9deb752dc055.zip
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
Diffstat (limited to 'src/irc/dcc/dcc-get.c')
-rw-r--r--src/irc/dcc/dcc-get.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/irc/dcc/dcc-get.c b/src/irc/dcc/dcc-get.c
index eb871149..fde094f4 100644
--- a/src/irc/dcc/dcc-get.c
+++ b/src/irc/dcc/dcc-get.c
@@ -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;