# HG changeset patch # User sulabh@pidgin.im # Date 1284108729 0 # Node ID 9af193ee13b7bac83ed49e6315df86d4ea581ca5 # Parent 8eb46a838ce011489d14ef0ffcec3ac5ab2ecbbe# Parent 812c1cc9661c07aa9acedb1ffe6b7937d8e9aa46 propagate from branch 'im.pidgin.cpw.sulabh.yahoo' (head cfd6bbbc1b109a21d2fc5e30d829c7f6c8953a07) to branch 'im.pidgin.pidgin' (head f904ce0216ba087391ad82dc04d388600399ddd1) diff -r 812c1cc9661c -r 9af193ee13b7 libpurple/protocols/yahoo/yahoo_filexfer.c --- a/libpurple/protocols/yahoo/yahoo_filexfer.c Fri Sep 10 01:44:38 2010 +0000 +++ b/libpurple/protocols/yahoo/yahoo_filexfer.c Fri Sep 10 08:52:09 2010 +0000 @@ -1253,7 +1253,14 @@ if (xd->txbuflen == 0) { gchar* cookies; - cookies = yahoo_get_cookies(gc); + YahooData *yd = gc->proto_data; + + /* cookies = yahoo_get_cookies(gc); + * This doesn't seem to be working. The function is returning NULL, which yahoo servers don't like + * For now let us not use this function */ + + cookies = g_strdup_printf("Y=%s; T=%s", yd->cookie_y, yd->cookie_t); + if(purple_xfer_get_type(xfer) == PURPLE_XFER_SEND && xd->status_15 == ACCEPTED) { if(xd->info_val_249 == 2)