From: <the...@us...> - 2006-12-09 20:20:25
|
Revision: 17928 http://svn.sourceforge.net/gaim/?rev=17928&view=rev Author: thekingant Date: 2006-12-09 12:20:17 -0800 (Sat, 09 Dec 2006) Log Message: ----------- Get rid of a few small compile warnings Modified Paths: -------------- trunk/libgaim/protocols/msn/userlist.c trunk/libgaim/protocols/oscar/oscar.c trunk/libgaim/protocols/yahoo/yahoo.c Modified: trunk/libgaim/protocols/msn/userlist.c =================================================================== --- trunk/libgaim/protocols/msn/userlist.c 2006-12-09 20:11:43 UTC (rev 17927) +++ trunk/libgaim/protocols/msn/userlist.c 2006-12-09 20:20:17 UTC (rev 17928) @@ -74,7 +74,7 @@ pa->gc = gc; gaim_account_request_authorization(gaim_connection_get_account(gc), passport, NULL, friendly, NULL, - gaim_find_buddy(gaim_connection_get_account(gc), passport), + gaim_find_buddy(gaim_connection_get_account(gc), passport) != NULL, G_CALLBACK(msn_accept_add_cb), G_CALLBACK(msn_cancel_add_cb), pa); } Modified: trunk/libgaim/protocols/oscar/oscar.c =================================================================== --- trunk/libgaim/protocols/oscar/oscar.c 2006-12-09 20:11:43 UTC (rev 17927) +++ trunk/libgaim/protocols/oscar/oscar.c 2006-12-09 20:20:17 UTC (rev 17928) @@ -2330,8 +2330,9 @@ data->name = sn; data->nick = NULL; - gaim_account_request_authorization(account, sn, - NULL, NULL, reason, gaim_find_buddy(account, sn), G_CALLBACK(gaim_auth_grant), + gaim_account_request_authorization(account, sn, NULL, NULL, + reason, gaim_find_buddy(account, sn) != NULL, + G_CALLBACK(gaim_auth_grant), G_CALLBACK(gaim_auth_dontgrant_msgprompt), data); g_free(reason); } @@ -5042,8 +5043,8 @@ data->name = g_strdup(sn); data->nick = NULL; - gaim_account_request_authorization(account, nombre, - NULL, NULL, reason, buddy, G_CALLBACK(gaim_auth_grant), + gaim_account_request_authorization(account, nombre, NULL, NULL, + reason, buddy != NULL, G_CALLBACK(gaim_auth_grant), G_CALLBACK(gaim_auth_dontgrant_msgprompt), data); g_free(nombre); g_free(reason); Modified: trunk/libgaim/protocols/yahoo/yahoo.c =================================================================== --- trunk/libgaim/protocols/yahoo/yahoo.c 2006-12-09 20:11:43 UTC (rev 17927) +++ trunk/libgaim/protocols/yahoo/yahoo.c 2006-12-09 20:20:17 UTC (rev 17928) @@ -996,7 +996,7 @@ * this should probably be moved to the core. */ gaim_account_request_authorization(gaim_connection_get_account(gc), add_req->who, add_req->id, - NULL, add_req->msg, gaim_find_buddy(gaim_connection_get_account(gc),add_req->who), + NULL, add_req->msg, gaim_find_buddy(gaim_connection_get_account(gc),add_req->who) != NULL, G_CALLBACK(yahoo_buddy_add_authorize_cb), G_CALLBACK(yahoo_buddy_add_deny_reason_cb), add_req); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |