# HG changeset patch # User andrew.victor@mxit.com # Date 1308605782 0 # Node ID d872652ae4e42db725481c130c2fc9f21827325d # Parent 92ab45c1758a8957486018795a3bf6684bc6ef0e These constants don't seem right. diff -r 92ab45c1758a -r d872652ae4e4 libpurple/protocols/mxit/roster.h --- a/libpurple/protocols/mxit/roster.h Mon Jun 20 21:25:52 2011 +0000 +++ b/libpurple/protocols/mxit/roster.h Mon Jun 20 21:36:22 2011 +0000 @@ -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 { 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 */