From: <ma...@us...> - 2006-08-23 02:21:07
|
Revision: 16990 Author: marv_sf Date: 2006-08-22 19:21:00 -0700 (Tue, 22 Aug 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16990&view=rev Log Message: ----------- oops, that was stupid. I blame the juicey goodness. Now that we actually properly set the protocol, it seems to work. I can send and receive messages back and forth between gaim on yahoo and windows live messenger. Messages I send seem to end up with </font>'s in them. Status updates also seem to work to some degree Modified Paths: -------------- trunk/libgaim/protocols/yahoo/yahoo.c Modified: trunk/libgaim/protocols/yahoo/yahoo.c =================================================================== --- trunk/libgaim/protocols/yahoo/yahoo.c 2006-08-23 01:35:44 UTC (rev 16989) +++ trunk/libgaim/protocols/yahoo/yahoo.c 2006-08-23 02:21:00 UTC (rev 16990) @@ -477,17 +477,16 @@ GHashTable *ht; char *grp = NULL; char *norm_bud = NULL; + YahooFriend *f = NULL; /* It's your friends. They're going to want you to share your StarBursts. */ + /* But what if you had no friends? */ + GaimBuddy *b; + GaimGroup *g; + ht = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, (GDestroyNotify) g_slist_free); while (l) { struct yahoo_pair *pair = l->data; - YahooFriend *f = NULL; /* It's your friends. They're going to want you to share your StarBursts. */ - /* But what if you had no friends? */ - GaimBuddy *b; - GaimGroup *g; - - l = l->next; switch (pair->key) { @@ -514,8 +513,10 @@ break; case 241: /* another protocol user */ - if (f) + if (f) { f->protocol = strtol(pair->value, NULL, 10); + gaim_debug_info("yahoo", "Setting protocol to %d\n", f->protocol); + } break; /* case 242: */ /* this seems related to 241 */ /* break; */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |