pidgin.mxit: 6c013884: These constants don't seem right.

andrew.victor at mxit.com andrew.victor at mxit.com
Mon Jun 20 17:40:22 EDT 2011


----------------------------------------------------------------------
Revision: 6c013884b5884934bee1199eb43165ef688974da
Parent:   f91801b40f9a55ef5c96951609b5efeeeb4f763a
Author:   andrew.victor at mxit.com
Date:     06/20/11 17:36:22
Branch:   im.pidgin.pidgin.mxit
URL: http://d.pidgin.im/viewmtn/revision/info/6c013884b5884934bee1199eb43165ef688974da

Changelog: 

These constants don't seem right.


Changes against parent f91801b40f9a55ef5c96951609b5efeeeb4f763a

  patched  libpurple/protocols/mxit/roster.h

-------------- next part --------------
============================================================
--- libpurple/protocols/mxit/roster.h	7f3bfbe4cbd806c5f4da8eb8172766b7ef19758a
+++ libpurple/protocols/mxit/roster.h	a9b2de660f9a942ad3b2e288ac9b2cd3ab8a2673
@@ -96,7 +96,7 @@
 /* client protocol constants */
 #define		MXIT_CP_MAX_JID_LEN			64
 #define		MXIT_CP_MAX_GROUP_LEN		32
-#define		MXIT_CP_MAX_ALIAS_LEN		48
+#define		MXIT_CP_MAX_ALIAS_LEN		100
 
 #define		MXIT_DEFAULT_GROUP			"MXit"
 
@@ -106,8 +106,8 @@ struct contact {
  */
 struct contact {
 	char		username[MXIT_CP_MAX_JID_LEN+1];	/* unique contact name (with domain) */
-	char		alias[MXIT_CP_MAX_GROUP_LEN+1];		/* contact alias (what will be seen) */
-	char		groupname[MXIT_CP_MAX_ALIAS_LEN+1];	/* contact group name */
+	char		alias[MXIT_CP_MAX_ALIAS_LEN+1];		/* contact alias (what will be seen) */
+	char		groupname[MXIT_CP_MAX_GROUP_LEN+1];	/* contact group name */
 
 	short		type;								/* contact type */
 	short		mood;								/* contact current mood */


More information about the Commits mailing list