diff options
author | Timo Sirainen <cras@irssi.org> | 2002-04-10 02:53:06 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-04-10 02:53:06 +0000 |
commit | bd00ff54c2bf569de50ff2df433bf90f279321a3 (patch) | |
tree | 3b3fcba93d018c7264ef5961842c410fcf0b10c9 /src/irc/dcc | |
parent | ec168a40096427e381c00e0ea04360d71abcf4d6 (diff) | |
download | irssi-bd00ff54c2bf569de50ff2df433bf90f279321a3.zip |
Fixed one error and several warnings with GLIB 2.0
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2663 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/dcc')
-rw-r--r-- | src/irc/dcc/dcc-send.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc/dcc/dcc-send.c b/src/irc/dcc/dcc-send.c index 7c35cc4d..14b67285 100644 --- a/src/irc/dcc/dcc-send.c +++ b/src/irc/dcc/dcc-send.c @@ -168,7 +168,8 @@ static char *dcc_send_get_file(const char *fname) static void cmd_dcc_send(const char *data, IRC_SERVER_REC *server, WI_ITEM_REC *item) { - char *target, *fname, *str; + const char *fname; + char *target, *str; void *free_arg; char host[MAX_IP_LEN]; int hfile, port; |