comparison libpurple/protocols/mxit/protocol.c @ 30714:b6b0c80f9dde

Implemented new naming conventions * changed MXitId to UID * changed nickname to Display Name * changed loginname to MXit ID
author pieter.loubser@mxit.com
date Mon, 14 Jun 2010 12:16:50 +0000
parents 594f99ea88e6
children 08d9cdac2b3c
comparison
equal deleted inserted replaced
30713:1dc5382d91d5 30714:b6b0c80f9dde
1302 session->http_sesid = atoi( records[0]->fields[0]->data ); 1302 session->http_sesid = atoi( records[0]->fields[0]->data );
1303 } 1303 }
1304 1304
1305 /* extract MXitId (from protocol 5.9) */ 1305 /* extract MXitId (from protocol 5.9) */
1306 if ( records[1]->fcount >= 9 ) 1306 if ( records[1]->fcount >= 9 )
1307 session->mxitId = g_strdup( records[1]->fields[8]->data ); 1307 session->uid = g_strdup( records[1]->fields[8]->data );
1308 1308
1309 /* display the current splash-screen */ 1309 /* display the current splash-screen */
1310 if ( splash_popup_enabled( session ) ) 1310 if ( splash_popup_enabled( session ) )
1311 splash_display( session ); 1311 splash_display( session );
1312 1312
2485 2485
2486 /* free custom emoticons */ 2486 /* free custom emoticons */
2487 mxit_free_emoticon_cache( session ); 2487 mxit_free_emoticon_cache( session );
2488 2488
2489 /* free allocated memory */ 2489 /* free allocated memory */
2490 if ( session->mxitId ) 2490 if ( session->uid )
2491 g_free( session->mxitId ); 2491 g_free( session->uid );
2492 g_free( session->encpwd ); 2492 g_free( session->encpwd );
2493 session->encpwd = NULL; 2493 session->encpwd = NULL;
2494 2494
2495 /* flush all the commands still in the queue */ 2495 /* flush all the commands still in the queue */
2496 flush_queue( session ); 2496 flush_queue( session );