pidgin/ljfisher-ssl-client-auth

These constants don't seem right.
mxit
2011-06-20, Andrew Victor
22ecc072d834
Parents 8ffbaab42c06
Children 6eaf6e8dee3f
These constants don't seem right.
--- 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 */