Changes in protocols/msn/msn_util.c [42d9571:5c09a59]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn_util.c
r42d9571 r5c09a59 46 46 int msn_logged_in( struct gaim_connection *gc ) 47 47 { 48 struct msn_data *md = gc->proto_data; 49 char buf[1024]; 50 48 51 account_online( gc ); 52 53 /* account_online() sets an away state if there is any, so only 54 execute this code if we're not away. */ 55 if( md->away_state == msn_away_state_list ) 56 { 57 g_snprintf( buf, sizeof( buf ), "CHG %d %s %d\r\n", ++md->trId, md->away_state->code, 0 ); 58 return( msn_write( gc, buf, strlen( buf ) ) ); 59 } 49 60 50 61 return( 0 );
Note: See TracChangeset
for help on using the changeset viewer.