src/session.c

changeset 11033
dc68e074f10d
parent 8601
d34f5d043246
child 11256
fe82a0c5e5ec
equal deleted inserted replaced
11032:8cebd16548eb 11033:dc68e074f10d
281 SmcCallbacks callbacks; 281 SmcCallbacks callbacks;
282 gchar *client_id = NULL; 282 gchar *client_id = NULL;
283 gchar error[ERROR_LENGTH] = ""; 283 gchar error[ERROR_LENGTH] = "";
284 gchar *tmp = NULL; 284 gchar *tmp = NULL;
285 gchar **cmd = NULL; 285 gchar **cmd = NULL;
286
287 gaim_debug_register_category("Session Management");
286 288
287 if (session != NULL) { 289 if (session != NULL) {
288 /* session is already established, what the hell is going on? */ 290 /* session is already established, what the hell is going on? */
289 gaim_debug(GAIM_DEBUG_WARNING, "Session Management", 291 gaim_debug(GAIM_DEBUG_WARNING, "Session Management",
290 "Duplicated call to session_init!\n"); 292 "Duplicated call to session_init!\n");
388 390
389 SmcCloseConnection(session, 0, NULL); 391 SmcCloseConnection(session, 0, NULL);
390 392
391 gaim_debug(GAIM_DEBUG_INFO, "Session Management", 393 gaim_debug(GAIM_DEBUG_INFO, "Session Management",
392 "Connection closed.\n"); 394 "Connection closed.\n");
395
396 gaim_debug_unregister_category("Session Management");
393 #endif /* USE_SM */ 397 #endif /* USE_SM */
394 } 398 }

mercurial