Changeset 5dc7f90
- Timestamp:
- 2011-12-06T00:53:16Z (13 years ago)
- Branches:
- master
- Children:
- d18db32f
- Parents:
- df98ee8
- Location:
- protocols/msn
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/sb.c
rdf98ee8 r5dc7f90 308 308 struct msn_switchboard *sb = data; 309 309 struct im_connection *ic; 310 struct msn_data *md;311 310 char buf[1024]; 312 311 … … 316 315 317 316 ic = sb->ic; 318 md = ic->proto_data;319 317 320 318 if( source != sb->fd ) … … 675 673 struct im_connection *ic = sb->ic; 676 674 char *body; 677 int blen = 0;678 675 679 676 if( !num_parts ) … … 681 678 682 679 if( ( body = strstr( msg, "\r\n\r\n" ) ) ) 683 {684 680 body += 4; 685 blen = msglen - ( body - msg );686 }687 681 688 682 if( strcmp( cmd[0], "MSG" ) == 0 ) -
protocols/msn/soap.c
rdf98ee8 r5dc7f90 210 210 { 211 211 char *s; 212 int st;213 212 214 213 if( !getenv( "BITLBEE_DEBUG" ) ) … … 218 217 { 219 218 if( ( s = strstr( headers, "\r\n\r\n" ) ) ) 220 st =write( 2, headers, s - headers + 4 );219 write( 2, headers, s - headers + 4 ); 221 220 else 222 st =write( 2, headers, strlen( headers ) );221 write( 2, headers, strlen( headers ) ); 223 222 } 224 223
Note: See TracChangeset
for help on using the changeset viewer.