diff libpurple/protocols/yahoo/yahoo_picture.c @ 27270:a19f4b2b8143

This fixes buddyicon fetches for me.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 27 Jun 2009 09:09:42 +0000
parents 57ea320e2727
children f57904a95fbb
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_picture.c	Sat Jun 27 09:08:56 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo_picture.c	Sat Jun 27 09:09:42 2009 +0000
@@ -327,7 +327,7 @@
 	struct yahoo_packet *pkt;
 
 	pkt = yahoo_packet_new(YAHOO_SERVICE_PICTURE, YAHOO_STATUS_AVAILABLE, 0);
-	yahoo_packet_hash_str(pkt, 4, purple_connection_get_display_name(gc)); /* me */
+	yahoo_packet_hash_str(pkt, 1, purple_connection_get_display_name(gc)); /* me */
 	yahoo_packet_hash_str(pkt, 5, who); /* the other guy */
 	yahoo_packet_hash_str(pkt, 13, "1"); /* 1 = request, 2 = reply */
 	yahoo_packet_send_and_free(pkt, yd);