Changeset 91d6e91 for protocols/msn/ns.c


Ignore:
Timestamp:
2010-08-13T09:12:31Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
50b8978
Parents:
b46769d
Message:

Sending offline messages works now ... but Pidgin doesn't seem to receive them. :-/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/ns.c

    rb46769d r91d6e91  
    7474        md->handler->rxq = g_new0( char, 1 );
    7575       
    76         g_snprintf( s, sizeof( s ), "VER %d MSNP15 CVR0\r\n", ++md->trId );
     76        g_snprintf( s, sizeof( s ), "VER %d %s CVR0\r\n", ++md->trId, MSNP_VER );
    7777        if( msn_write( ic, s, strlen( s ) ) )
    7878        {
     
    114114        if( strcmp( cmd[0], "VER" ) == 0 )
    115115        {
    116                 if( cmd[2] && strncmp( cmd[2], "MSNP15", 5 ) != 0 )
     116                if( cmd[2] && strncmp( cmd[2], MSNP_VER, 5 ) != 0 )
    117117                {
    118118                        imcb_error( ic, "Unsupported protocol" );
Note: See TracChangeset for help on using the changeset viewer.