1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-02-02 15:08:15 -05:00

Renamed shutdown function

This commit is contained in:
James Booth 2012-10-27 18:15:26 +01:00
parent 28d388319a
commit d658915740

View File

@ -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();