about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-10-27 18:15:26 +0100
committerJames Booth <boothj5@gmail.com>2012-10-27 18:15:26 +0100
commitd658915740d8681db8ce61bf65aa4647f8007993 (patch)
treede851ec05f339bcae1cb604af4c30739cda3e6a8
parent28d388319abd2fc6aafe17ce1d4bc80c2bac5ae5 (diff)
downloadprofani-tty-d658915740d8681db8ce61bf65aa4647f8007993.tar.gz
Renamed shutdown function
-rw-r--r--src/profanity.c6
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();
 
> 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223