From aed634ae08f6d0ba4cd53aa5b5243b8f40ae2cae Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 30 Jan 2002 22:00:06 +0000 Subject: /CONNECT and /SERVER crashed without parameters git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2361 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/chat-commands.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/chat-commands.c') diff --git a/src/core/chat-commands.c b/src/core/chat-commands.c index 11e04a1e..7b76511f 100644 --- a/src/core/chat-commands.c +++ b/src/core/chat-commands.c @@ -120,9 +120,9 @@ static void cmd_connect(const char *data) if (server != NULL && rawlog_file != NULL) rawlog_open(server->rawlog, rawlog_file); - } - g_free(rawlog_file); + g_free(rawlog_file); + } } static RECONNECT_REC *find_reconnect_server(int chat_type, @@ -226,9 +226,9 @@ static void cmd_server_connect(const char *data, SERVER_REC *server) if (server != NULL && rawlog_file != NULL) rawlog_open(server->rawlog, rawlog_file); - } - g_free(rawlog_file); + g_free(rawlog_file); + } } /* SYNTAX: DISCONNECT *| [] */ -- cgit v1.2.3