Mercurial > pidgin.yaz
diff libpurple/protocols/mxit/protocol.c @ 32707:f75041cb3fec
Convert libpurple and protocol prpl's to use the purple_account_* accessor functions.
author | andrew.victor@mxit.com |
---|---|
date | Sat, 01 Oct 2011 18:21:43 +0000 |
parents | 904686722499 |
children | d8c652ea476a |
line wrap: on
line diff
--- a/libpurple/protocols/mxit/protocol.c Sat Oct 01 17:10:45 2011 +0000 +++ b/libpurple/protocols/mxit/protocol.c Sat Oct 01 18:21:43 2011 +0000 @@ -458,7 +458,7 @@ packet->headerlen = 0; /* create generic packet header */ - hlen = snprintf( header, sizeof( header ), "id=%s%c", session->acc->username, CP_REC_TERM ); /* client msisdn */ + hlen = snprintf( header, sizeof( header ), "id=%s%c", purple_account_get_username( session->acc), CP_REC_TERM ); /* client msisdn */ if ( session->http ) { /* http connection only */