From c8b74387361ed600878f27b50f2ee14d8582ef13 Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Sun, 14 Jul 2013 21:32:20 +0300 Subject: [PATCH 1/2] fixed typos in command.c --- src/command/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command/command.c b/src/command/command.c index 63d003f4..6bcc9986 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -2780,7 +2780,7 @@ _cmd_rooms(gchar **args, struct cmd_help_t help) jabber_conn_status_t conn_status = jabber_get_connection_status(); if (conn_status != JABBER_CONNECTED) { - cons_show("You are currenlty connect."); + cons_show("You are not currenlty connected."); return TRUE; } @@ -2804,7 +2804,7 @@ _cmd_disco(gchar **args, struct cmd_help_t help) jabber_conn_status_t conn_status = jabber_get_connection_status(); if (conn_status != JABBER_CONNECTED) { - cons_show("You are currenlty connect."); + cons_show("You are not currenlty connected."); return TRUE; } From 0b221bde2055766410b3392edd958ef45e47671c Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Sun, 14 Jul 2013 21:34:02 +0300 Subject: [PATCH 2/2] removed useless code in autocomplete.c --- src/tools/autocomplete.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tools/autocomplete.c b/src/tools/autocomplete.c index 849aaf1d..b53e49bd 100644 --- a/src/tools/autocomplete.c +++ b/src/tools/autocomplete.c @@ -68,8 +68,7 @@ void autocomplete_free(Autocomplete ac) { autocomplete_clear(ac); - g_free(ac); - ac = NULL; + free(ac); } gint