Changes in protocols/msn/ns.c [99f929c:e6648bf]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/ns.c
r99f929c re6648bf 178 178 179 179 debug( "Connecting to a new switchboard with key %s", cmd[5] ); 180 181 if( ( sb = msn_sb_create( ic, server, port, cmd[5], MSN_SB_NEW ) ) == NULL ) 182 { 183 /* Although this isn't strictly fatal for the NS connection, it's 184 definitely something serious (we ran out of file descriptors?). */ 185 imcb_error( ic, "Could not create new switchboard" ); 186 imc_logout( ic, TRUE ); 187 return( 0 ); 188 } 180 sb = msn_sb_create( ic, server, port, cmd[5], MSN_SB_NEW ); 189 181 190 182 if( md->msgq ) … … 476 468 debug( "Got a call from %s (session %d). Key = %s", cmd[5], session, cmd[4] ); 477 469 478 if( ( sb = msn_sb_create( ic, server, port, cmd[4], session ) ) == NULL ) 479 { 480 /* Although this isn't strictly fatal for the NS connection, it's 481 definitely something serious (we ran out of file descriptors?). */ 482 imcb_error( ic, "Could not create new switchboard" ); 483 imc_logout( ic, TRUE ); 484 return( 0 ); 485 } 486 else 487 { 488 sb->who = g_strdup( cmd[5] ); 489 } 470 sb = msn_sb_create( ic, server, port, cmd[4], session ); 471 sb->who = g_strdup( cmd[5] ); 490 472 } 491 473 else if( strcmp( cmd[0], "ADD" ) == 0 )
Note: See TracChangeset
for help on using the changeset viewer.