|
From: Don S. <do...@se...> - 2005-02-04 19:30:40
|
On 14:50 Thu 03 Feb , Don Seiler wrote:
> if (!g_hash_table_lookup(conn->buddies, norm)) {
> b =3D bnet_buddy_new(norm, buddy->name);
> if (conn->welcome)
> b->new_entry =3D TRUE;
> g_hash_table_insert(conn->buddies, b->norm, b);
> bnet_conn_request_friends_list(conn);
> }
>=20
> I may be reading this wrong, but this to me seems to be checking for the
> existance of the buddy in the list, and only adding if it doesn't exist.
> Why would this be failing?
It turns out that this block does indeed catch things, but the buddy is
still added to the list.
--=20
Don Seiler
do...@se...
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xFC87F041
Fingerprint: 0B56 50D5 E91E 4D4C 83B7 207C 76AC 5DA2 FC87 F041
|