comparison mcabber/src/buddies.c @ 45:5654c4231de1

[/trunk] Changeset 61 by mikael * Kill warning.
author mikael
date Wed, 06 Apr 2005 09:48:40 +0000
parents a7c699bd09e0
children b392112ab995
comparison
equal deleted inserted replaced
44:c10f95f959d0 45:5654c4231de1
30 int changed = 0; 30 int changed = 0;
31 31
32 list_for_each_safe(pos, n, &buddy_list) { 32 list_for_each_safe(pos, n, &buddy_list) {
33 tmp = buddy_entry(pos); 33 tmp = buddy_entry(pos);
34 if (!strcasecmp(tmp->jid, jidfrom)) { 34 if (!strcasecmp(tmp->jid, jidfrom)) {
35 if (tmp->flags != status) { 35 if ((unsigned)tmp->flags != status) {
36 oldstatus = tmp->flags; 36 oldstatus = tmp->flags;
37 tmp->flags = status; 37 tmp->flags = status;
38 changed = 1; 38 changed = 1;
39 } 39 }
40 break; 40 break;