Mercurial > pidgin.yaz
changeset 5776:147f4c25af15
[gaim-migrate @ 6201]
compile fixes and cleanups
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 06 Jun 2003 16:53:22 +0000 |
parents | 171fdd5493b9 |
children | 1f786fb43ee6 |
files | src/blist.c src/conversation.c src/server.c |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/blist.c Fri Jun 06 16:20:52 2003 +0000 +++ b/src/blist.c Fri Jun 06 16:53:22 2003 +0000 @@ -761,7 +761,7 @@ hb.name = normalize(n); hb.account = account; hb.group = group; - if (buddy = g_hash_table_lookup(gaimbuddylist->buddies, &hb)) + if ((buddy = g_hash_table_lookup(gaimbuddylist->buddies, &hb)) != NULL) return buddy; group = ((GaimBlistNode*)group)->next; }
--- a/src/conversation.c Fri Jun 06 16:20:52 2003 +0000 +++ b/src/conversation.c Fri Jun 06 16:53:22 2003 +0000 @@ -421,7 +421,7 @@ gaim_prefs_get_bool("/core/conversations/away_back_on_send")) { if (awaymessage != NULL) { - do_im_back(); + do_im_back(NULL, NULL); } else if (gc->away) { serv_set_away(gc, GAIM_AWAY_CUSTOM, NULL);
--- a/src/server.c Fri Jun 06 16:20:52 2003 +0000 +++ b/src/server.c Fri Jun 06 16:53:22 2003 +0000 @@ -1149,7 +1149,7 @@ gaim_blist_update_buddy_presence(b, loggedin); /* Now, update the rest of the buddies in the list */ - while (b = gaim_find_buddy(gc->account, NULL)) { + while ((b = gaim_find_buddy(gc->account, NULL)) != NULL) { gaim_blist_update_buddy_presence(b, loggedin); gaim_blist_update_buddy_idle(b, idle); gaim_blist_update_buddy_evil(b, evil);