diff src/oscar.c @ 834:bac7089491c1

[gaim-migrate @ 844] redesigned chat page a bit, and fixed some libfaim stuff. oh, and made some FIXME's more informative. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 02 Sep 2000 12:46:05 +0000
parents 8d8ef8c3afe2
children 15d005f8baaf
line wrap: on
line diff
--- a/src/oscar.c	Sat Sep 02 10:57:07 2000 +0000
+++ b/src/oscar.c	Sat Sep 02 12:46:05 2000 +0000
@@ -47,7 +47,7 @@
 static int inpa = -1;
 static int paspa = -1;
 static int cnpa = -1;
-struct aim_session_t *gaim_sess;
+struct aim_session_t *gaim_sess = NULL;
 struct aim_conn_t    *gaim_conn;
 int gaim_caps = AIM_CAPS_CHAT | AIM_CAPS_SENDFILE | AIM_CAPS_GETFILE |
 		AIM_CAPS_VOICE | AIM_CAPS_IMIMAGE | AIM_CAPS_BUDDYICON;
@@ -260,6 +260,7 @@
 	inpa = -1;
 	aim_logoff(gaim_sess);
 	g_free(gaim_sess);
+	gaim_sess = NULL;
 	debug_print(_("Signed off.\n"));
 }