# HG changeset patch # User Richard Laager # Date 1132352529 0 # Node ID 4e729e3d8f0b83543f351e4aa4ad591feffa6cdf # Parent 44104dfce57bae3eae2f089ae3152c62588d2ac5 [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 diff -r 44104dfce57b -r 4e729e3d8f0b src/protocols/yahoo/yahoo.c --- 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);