diff options
author | James Booth <boothj5@gmail.com> | 2012-10-27 18:15:26 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-10-27 18:15:26 +0100 |
commit | d658915740d8681db8ce61bf65aa4647f8007993 (patch) | |
tree | de851ec05f339bcae1cb604af4c30739cda3e6a8 /src | |
parent | 28d388319abd2fc6aafe17ce1d4bc80c2bac5ae5 (diff) | |
download | profani-tty-d658915740d8681db8ce61bf65aa4647f8007993.tar.gz |
Renamed shutdown function
Diffstat (limited to 'src')
-rw-r--r-- | src/profanity.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/profanity.c b/src/profanity.c index 11270d3e..22144376 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -43,7 +43,7 @@ static gboolean _process_input(char *inp); 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) @@ -286,11 +286,11 @@ _init(const int disable_tls, char *log_level) cmd_init(); log_info("Initialising contact list"); contact_list_init(); - atexit(_shutdown_init); + atexit(_shutdown); } static void -_shutdown_init(void) +_shutdown(void) { gboolean wait_response = jabber_disconnect(); |