summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc-chat.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-11-18 15:31:28 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-11-18 15:31:28 +0000
commit14e5dc8b8e477baa000ba4b5073027eb629b416d (patch)
tree468d75acb00d8dada6e1e9dbf4c836320ed12c2e /src/irc/dcc/dcc-chat.c
parentc4af878047776d3a01abdd70afeaee71930d87a9 (diff)
downloadirssi-14e5dc8b8e477baa000ba4b5073027eb629b416d.zip
compiler warning fixes + one real bug in dcc-chat
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@850 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/dcc/dcc-chat.c')
-rw-r--r--src/irc/dcc/dcc-chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c
index 59b4a776..7a331388 100644
--- a/src/irc/dcc/dcc-chat.c
+++ b/src/irc/dcc/dcc-chat.c
@@ -64,7 +64,7 @@ static void cmd_msg(const char *data)
char *text, *target;
void *free_arg;
- g_return_if_fail(text != NULL);
+ g_return_if_fail(data != NULL);
if (*data != '=') {
/* handle only DCC messages */