cpw.sulabh.yahoo: 15bec46c: Fix file transfers. yahoo_get_cookies() ...
sulabh at pidgin.im
sulabh at pidgin.im
Wed Sep 1 16:37:02 EDT 2010
----------------------------------------------------------------------
Revision: 15bec46c35831daf795a870712e4ef6dd91034ce
Parent: 947bfbeaa5e5a82ae69f2f3d36e34af9c15e24df
Author: sulabh at pidgin.im
Date: 09/01/10 16:29:32
Branch: im.pidgin.cpw.sulabh.yahoo
URL: http://d.pidgin.im/viewmtn/revision/info/15bec46c35831daf795a870712e4ef6dd91034ce
Changelog:
Fix file transfers. yahoo_get_cookies() doesn't seem to be working. As a
fix construct cookie by printing individual cookies together.
Changes against parent 947bfbeaa5e5a82ae69f2f3d36e34af9c15e24df
patched libpurple/protocols/yahoo/yahoo_filexfer.c
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo_filexfer.c 88453802be00a9217ba1d73a11d26c4075facd66
+++ libpurple/protocols/yahoo/yahoo_filexfer.c a7af403b4a6efac2ad704eb1dee234c0cd592b80
@@ -1253,7 +1253,14 @@ static void yahoo_xfer_connected_15(gpoi
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)
More information about the Commits
mailing list