pidgin.mxit: 89815939: SuggestContacts packets updated.

andrew.victor at mxit.com andrew.victor at mxit.com
Tue Mar 22 18:25:51 EDT 2011


----------------------------------------------------------------------
Revision: 89815939a924cda8f4cd30ce86cf1406db8f6ff6
Parent:   606f2ef9cbbd7db1b9b2a88886084e4a175d9269
Author:   andrew.victor at mxit.com
Date:     03/22/11 18:21:14
Branch:   im.pidgin.pidgin.mxit
URL: http://d.pidgin.im/viewmtn/revision/info/89815939a924cda8f4cd30ce86cf1406db8f6ff6

Changelog: 

SuggestContacts packets updated.


Changes against parent 606f2ef9cbbd7db1b9b2a88886084e4a175d9269

  patched  libpurple/protocols/mxit/protocol.c

-------------- next part --------------
============================================================
--- libpurple/protocols/mxit/protocol.c	0aa136a229f869fce1827430d0408556dd59c52d
+++ libpurple/protocols/mxit/protocol.c	d245d8fa7ca77b0695eafe9cefcc851a5a1ee552
@@ -890,8 +890,8 @@ void mxit_send_suggest_friends( struct M
 
 	/* convert the packet to a byte stream */
 	datalen = snprintf( data, sizeof( data ),
-								"ms=%i%c%s%c%i%c%i",		/* inputType \1 input \ 1 maxSuggestions \1 numAttributes \1 name0 ... \1 nameN */
-								CP_SUGGEST_FRIENDS, CP_FLD_TERM, "", CP_FLD_TERM, max, CP_FLD_TERM, nr_attrib );
+								"ms=%i%c%s%c%i%c%i%c%i",	/* inputType \1 input \1 maxSuggestions \1 startIndex \1 numAttributes \1 name0 \1 name1 ... \1 nameN */
+								CP_SUGGEST_FRIENDS, CP_FLD_TERM, "", CP_FLD_TERM, max, CP_FLD_TERM, 0, CP_FLD_TERM, nr_attrib );
 
 	/* add attributes */
 	for ( i = 0; i < nr_attrib; i++ )
@@ -919,8 +919,8 @@ void mxit_send_suggest_search( struct MX
 
 	/* convert the packet to a byte stream */
 	datalen = snprintf( data, sizeof( data ),
-								"ms=%i%c%s%c%i%c%i",		/* inputType \1 input \ 1 maxSuggestions \1 numAttributes \1 name0 ... \1 nameN */
-								CP_SUGGEST_SEARCH, CP_FLD_TERM, text, CP_FLD_TERM, max, CP_FLD_TERM, nr_attrib );
+								"ms=%i%c%s%c%i%c%i%c%i",	/* inputType \1 input \1 maxSuggestions \1 startIndex \1 numAttributes \1 name0 \1 name1 ... \1 nameN */
+								CP_SUGGEST_SEARCH, CP_FLD_TERM, text, CP_FLD_TERM, max, CP_FLD_TERM, 0, CP_FLD_TERM, nr_attrib );
 
 	/* add attributes */
 	for ( i = 0; i < nr_attrib; i++ )


More information about the Commits mailing list