Mercurial > pidgin
changeset 12138:4e729e3d8f0b
[gaim-migrate @ 14439]
(22:17:42) Peter Lawler (Bleeter): anyone up for applying a simple patch for me? it's for fixing one _debug output so it actually prints useful info, and introduces a new _debug so tracking down these presence problems will be easier.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 18 Nov 2005 22:22:09 +0000 |
parents | 44104dfce57b |
children | 8500930c005e |
files | src/protocols/yahoo/yahoo.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Fri Nov 18 17:57:34 2005 +0000 +++ b/src/protocols/yahoo/yahoo.c Fri Nov 18 22:22:09 2005 +0000 @@ -585,7 +585,7 @@ (gc->account->perm_deny != GAIM_PRIVACY_ALLOW_USERS))) { gc->account->perm_deny = GAIM_PRIVACY_DENY_USERS; - gaim_debug_info("yahoo", "Privacy defaulting to GAIM_PRIVACY_DENY_USERS.\n", + gaim_debug_info("yahoo", "%s privacy defaulting to GAIM_PRIVACY_DENY_USERS.\n", gc->account->username); } @@ -593,8 +593,11 @@ buddies = g_strsplit(perm_presence_buddies, ",", -1); for (bud = buddies; bud && *bud; bud++) { f = yahoo_friend_find(gc, *bud); - if (f) + if (f) { + gaim_debug_info("yahoo", "%s setting presence for %s to PERM_OFFLINE\n", + gc->account->username, *bud); f->presence = YAHOO_PRESENCE_PERM_OFFLINE; + } } g_strfreev(buddies);