# HG changeset patch # User Sean Egan # Date 1022780943 0 # Node ID 941eb47c5bd430b0fd59d6745f0fa11ff48011df # Parent c98c1e0281ffc37506849cb4c80b2a45b4583fd6 [gaim-migrate @ 3299] compliant. Thanks Tim Mooney committer: Tailor Script diff -r c98c1e0281ff -r 941eb47c5bd4 src/prpl.c --- a/src/prpl.c Wed May 29 01:44:40 2002 +0000 +++ b/src/prpl.c Thu May 30 17:49:03 2002 +0000 @@ -470,9 +470,15 @@ void set_icon_data(struct gaim_connection *gc, char *who, void *data, int len) { - struct icon_data tmp = { gc, normalize(who), NULL, 0 }; - GList *l = g_list_find_custom(icons, &tmp, find_icon_data); - struct icon_data *id = l ? l->data : NULL; + struct icon_data tmp; + GList *l; + struct icon_data *id; + tmp.gc = gc; + tmp.who = normalize(who); + tmp.data=NULL; + tmp.len = 0; + l = g_list_find_custom(icons, &tmp, find_icon_data); + id = l ? l->data : NULL; if (id) { g_free(id->data);