From 14e5dc8b8e477baa000ba4b5073027eb629b416d Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 18 Nov 2000 15:31:28 +0000 Subject: 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 --- src/irc/dcc/dcc-chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irc') 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 */ -- cgit v1.2.3