Changeset d0752e8 for protocols/msn


Ignore:
Timestamp:
2012-09-22T12:12:12Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
11ec078
Parents:
55ccc9a0
Message:

Little cleanup. Use xt_from_string() where possible.

Location:
protocols/msn
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/ns.c

    r55ccc9a0 rd0752e8  
    683683                char *psm_text = NULL;
    684684               
    685                 ubx = xt_from_string( msg );
     685                ubx = xt_from_string( msg, msglen );
    686686                if( ubx && strcmp( ubx->name, "Data" ) == 0 &&
    687687                    ( psm = xt_find_node( ubx->children, "PSM" ) ) )
     
    695695                struct xt_node *adl, *d, *c;
    696696               
    697                 if( !( adl = xt_from_string( msg ) ) )
     697                if( !( adl = xt_from_string( msg, msglen ) ) )
    698698                        return 1;
    699699               
  • protocols/msn/soap.c

    r55ccc9a0 rd0752e8  
    229229        if( payload )
    230230        {
    231                 struct xt_node *xt = xt_from_string( payload );
     231                struct xt_node *xt = xt_from_string( payload, 0 );
    232232                if( xt )
    233233                        xt_print( xt );
Note: See TracChangeset for help on using the changeset viewer.