Update of /cvsroot/gaim/gaim/src
In directory usw-pr-cvs1:/tmp/cvs-serv15550/src
Modified Files:
prpl.c
Log Message:
compliant. Thanks Tim Mooney
Index: prpl.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/prpl.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- prpl.c 15 Apr 2002 03:23:09 -0000 1.53
+++ prpl.c 30 May 2002 17:49:03 -0000 1.54
@@ -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);
|