# HG changeset patch # User sulabh@pidgin.im # Date 1284058140 0 # Node ID 8eb46a838ce011489d14ef0ffcec3ac5ab2ecbbe # Parent fc961dfd4122570097de02faf8a1c056940a4cee# Parent 4d8569be274c0560b2ed53b3f08110344f1f0096 propagate from branch 'im.pidgin.pidgin' (head 7b998c02b684a694f1089bee715e4a3952bbcf08) to branch 'im.pidgin.cpw.sulabh.yahoo' (head 15bec46c35831daf795a870712e4ef6dd91034ce) diff -r 4d8569be274c -r 8eb46a838ce0 libpurple/protocols/yahoo/yahoo_filexfer.c --- a/libpurple/protocols/yahoo/yahoo_filexfer.c Mon Sep 06 19:41:27 2010 +0000 +++ b/libpurple/protocols/yahoo/yahoo_filexfer.c Thu Sep 09 18:49:00 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)