--- a/libpurple/protocols/mxit/cipher.c Wed Apr 03 00:36:03 2013 +0200
+++ b/libpurple/protocols/mxit/cipher.c Wed Apr 03 00:49:23 2013 +0200
@@ -107,12 +107,12 @@
char* mxit_encrypt_password( struct MXitSession* session )
- GString* encrypted = NULL;
+ GString* encrypted = NULL; purple_debug_info( MXIT_PLUGIN_ID, "mxit_encrypt_password\n" );
@@ -154,11 +154,11 @@
char* mxit_decrypt_message( struct MXitSession* session, char* message )
- GString* decoded = NULL;
+ GString* decoded = NULL; /* remove optional header: <mxitencrypted ver="5.2"/> */
if ( strncmp( message, ENCRYPT_HEADER, strlen( ENCRYPT_HEADER ) ) == 0 )
@@ -209,11 +209,11 @@
char* mxit_encrypt_message( struct MXitSession* session, char* message )
- GString* raw_message = NULL;
- GString* encoded = NULL;
+ GString* raw_message = NULL; + GString* encoded = NULL; purple_debug_info( MXIT_PLUGIN_ID, "encrypt message: '%s'\n", message );
--- a/libpurple/protocols/mxit/markup.c Wed Apr 03 00:36:03 2013 +0200
+++ b/libpurple/protocols/mxit/markup.c Wed Apr 03 00:49:23 2013 +0200
@@ -249,12 +249,12 @@
+ unsigned int start = 0; @@ -651,7 +651,7 @@
static int mxit_parse_vibe( struct RXMsgData* mx, const char* message )
vibeid = message[2] - '0';
--- a/libpurple/protocols/mxit/roster.c Wed Apr 03 00:36:03 2013 +0200
+++ b/libpurple/protocols/mxit/roster.c Wed Apr 03 00:49:23 2013 +0200
@@ -672,7 +672,7 @@
struct contact* con = NULL;
struct contact* match = NULL;
/* run through all the invites and try and find the match */
for ( i = 0; i < g_list_length( session->invites ); i++ ) {