Changeset 08995b0
- Timestamp:
- 2006-01-04T12:09:35Z (19 years ago)
- Branches:
- master
- Children:
- 2d75b56, 5c577bd
- Parents:
- 7e563ed
- Location:
- protocols
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn.c
r7e563ed r08995b0 170 170 171 171 for( i = 0; msn_away_state_list[i].number > -1; i ++ ) 172 l = g_list_append( l, msn_away_state_list[i].name );172 l = g_list_append( l, (void*) msn_away_state_list[i].name ); 173 173 174 174 return( l ); … … 177 177 static char *msn_get_status_string( struct gaim_connection *gc, int number ) 178 178 { 179 struct msn_away_state *st = msn_away_state_by_number( number );179 const struct msn_away_state *st = msn_away_state_by_number( number ); 180 180 181 181 if( st ) 182 return( st->name );182 return( (char*) st->name ); 183 183 else 184 184 return( "" ); … … 189 189 char buf[1024]; 190 190 struct msn_data *md = gc->proto_data; 191 struct msn_away_state *st;191 const struct msn_away_state *st; 192 192 193 193 if( strcmp( state, GAIM_AWAY_CUSTOM ) == 0 ) -
protocols/msn/msn.h
r7e563ed r08995b0 67 67 GSList *switchboards; 68 68 int buddycount; 69 struct msn_away_state *away_state;69 const struct msn_away_state *away_state; 70 70 }; 71 71 -
protocols/msn/ns.c
r7e563ed r08995b0 365 365 else if( strcmp( cmd[0], "ILN" ) == 0 ) 366 366 { 367 struct msn_away_state *st;367 const struct msn_away_state *st; 368 368 369 369 if( num_parts != 6 ) … … 393 393 else if( strcmp( cmd[0], "NLN" ) == 0 ) 394 394 { 395 struct msn_away_state *st;395 const struct msn_away_state *st; 396 396 397 397 if( num_parts != 5 ) … … 539 539 { 540 540 int num = atoi( cmd[0] ); 541 struct msn_status_code *err = msn_status_by_number( num );541 const struct msn_status_code *err = msn_status_by_number( num ); 542 542 543 543 g_snprintf( buf, sizeof( buf ), "Error reported by MSN server: %s", err->text ); -
protocols/msn/sb.c
r7e563ed r08995b0 512 512 { 513 513 int num = atoi( cmd[0] ); 514 struct msn_status_code *err = msn_status_by_number( num );514 const struct msn_status_code *err = msn_status_by_number( num ); 515 515 516 516 g_snprintf( buf, sizeof( buf ), "Error reported by switchboard server: %s", err->text ); -
protocols/ssl_bogus.c
r7e563ed r08995b0 51 51 return( -1 ); 52 52 } 53 54 GaimInputCondition ssl_getdirection( void *conn ) 55 { 56 return GAIM_INPUT_READ; 57 }
Note: See TracChangeset
for help on using the changeset viewer.