diff options
author | James Booth <boothj5@gmail.com> | 2012-10-27 17:40:17 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-10-27 17:40:17 +0100 |
commit | 852112cda81a861e7895de00233ea20b86c80a82 (patch) | |
tree | 724b8877c0fe22cbea58efd517bdcb96857135da /src | |
parent | 2abd525caec64a252079fce0ea68a62a628848c5 (diff) | |
download | profani-tty-852112cda81a861e7895de00233ea20b86c80a82.tar.gz |
Removed _shutdown function in profanity.c
Diffstat (limited to 'src')
-rw-r--r-- | src/command.c | 2 | ||||
-rw-r--r-- | src/profanity.c | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/command.c b/src/command.c index b30e9cae..d5245e0d 100644 --- a/src/command.c +++ b/src/command.c @@ -272,7 +272,7 @@ static struct cmd_t setting_commands[] = "Config file section : [ui]", "Config file value : showsplash=true|false", NULL } } }, - + { "/vercheck", _cmd_vercheck, { "/vercheck [on|off]", "Check for a new release.", diff --git a/src/profanity.c b/src/profanity.c index 1045662b..c13e13a9 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -44,7 +44,6 @@ static void _create_config_directory(); static void _free_roster_entry(jabber_roster_entry *entry); static void _init(const int disable_tls, char *log_level); static void _shutdown_init(void); -static void _shutdown(void); void prof_run(const int disable_tls, char *log_level) @@ -302,12 +301,6 @@ _shutdown_init(void) jabber_free_resources(); } - _shutdown(); -} - -static void -_shutdown(void) -{ contact_list_clear(); gui_close(); chat_log_close(); |