Mercurial > pidgin
diff src/oscar.c @ 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 |
line wrap: on
line diff
--- 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)