changeset 9888:ef5543c8a664

[gaim-migrate @ 10773] Patch by Dave Bell to send our yahoo build and version info in the auth packet, which yahoo doesn't require, but his IMLogic firewall apparently does. Normally I don't care about funky firewalls, but I don't see any harm in sending this, and it lets me close two tracker items. Also a stupid compiler warning fix by me. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Thu, 26 Aug 2004 22:31:30 +0000
parents 18a787538ad2
children b595ab3394c2
files COPYRIGHT src/protocols/yahoo/yahoo.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Thu Aug 26 22:28:14 2004 +0000
+++ b/COPYRIGHT	Thu Aug 26 22:31:30 2004 +0000
@@ -9,6 +9,7 @@
 Patrick Aussems
 Kevin Barry
 Curtis Beattie
+Dave Bell
 Brian Bernas
 Jonas Birmé
 Eric Blade
--- a/src/protocols/yahoo/yahoo.c	Thu Aug 26 22:28:14 2004 +0000
+++ b/src/protocols/yahoo/yahoo.c	Thu Aug 26 22:31:30 2004 +0000
@@ -375,8 +375,10 @@
 			name = pair->value;
 			if (name && g_utf8_validate(name, -1, NULL))
 				f = yahoo_friend_find_or_new(gc, name);
-			else
-				f = name = NULL;
+			else {
+				f = NULL;
+				name = NULL;
+			}
 			break;
 		case 10: /* state */
 			if (!f)
@@ -1661,6 +1663,7 @@
 	yahoo_packet_hash(pack, 6, resp_6);
 	yahoo_packet_hash(pack, 96, resp_96);
 	yahoo_packet_hash(pack, 1, name);
+	yahoo_packet_hash(pack, 135, "6,0,0,1710");
 	if (yd->picture_checksum) {
 		char *cksum = g_strdup_printf("%d", yd->picture_checksum);
 		yahoo_packet_hash(pack, 192, cksum);