changeset 965:50f2977537d8

[gaim-migrate @ 975] segfault avoidance and notes about libfaim committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 10 Oct 2000 10:16:26 +0000
parents 2cd7b73e2c9a
children f7886476f9d9
files libfaim/README.gaim src/oscar.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libfaim/README.gaim	Tue Oct 10 10:04:59 2000 +0000
+++ b/libfaim/README.gaim	Tue Oct 10 10:16:26 2000 +0000
@@ -87,6 +87,10 @@
 
 - Warnings are there now. Yes, I know it says the wrong value.
 
+- I have reason to believe that if a libfaim user invites a TOC user, the TOC
+user will get a fucked up message. Receiving invitations work well, and sending
+invitations to Oscar users works well.
+
 - There are also FIXME's scattered about gaim. Grep around for those, figure
 out what needs to be fixed, do that sort of thing. :) (Fixing the things listed
 in KNOWN ISSUES above, or any other bugs you happen to find, is a very good use
--- a/src/oscar.c	Tue Oct 10 10:04:59 2000 +0000
+++ b/src/oscar.c	Tue Oct 10 10:16:26 2000 +0000
@@ -102,6 +102,11 @@
 	struct aim_conn_t *s;
 	while (g) {
 		c = (struct gaim_connection *)g->data;
+		if (c->protocol != PROTO_OSCAR) {
+			c = NULL;
+			g = g->next;
+			continue;
+		}
 		s = c->oscar_sess->connlist;
 		while (s) {
 			if (conn == s)