Changeset 6e9ae72 for protocols/msn/soap.c
- Timestamp:
- 2011-12-17T13:50:01Z (13 years ago)
- Branches:
- master
- Children:
- 18c6d36
- Parents:
- 87dddee (diff), 17f057d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/soap.c
r87dddee r6e9ae72 210 210 { 211 211 char *s; 212 int st;213 212 214 213 if( !getenv( "BITLBEE_DEBUG" ) ) 215 214 return; 216 215 217 if( ( s = strstr( headers, "\r\n\r\n" ) ) ) 218 st = write( 1, s, s - headers + 4 ); 219 else 220 st = write( 1, headers, strlen( headers ) ); 221 222 #ifdef DEBUG 216 if( headers ) 217 { 218 if( ( s = strstr( headers, "\r\n\r\n" ) ) ) 219 write( 2, headers, s - headers + 4 ); 220 else 221 write( 2, headers, strlen( headers ) ); 222 } 223 224 if( payload ) 223 225 { 224 226 struct xt_node *xt = xt_from_string( payload ); … … 227 229 xt_free_node( xt ); 228 230 } 229 #endif230 231 } 231 232 … … 661 662 662 663 if( getenv( "BITLBEE_DEBUG" ) ) 663 printf("%p %s %d\n", bu, handle, bd->flags );664 fprintf( stderr, "%p %s %d\n", bu, handle, bd->flags ); 664 665 665 666 return XT_HANDLED; … … 808 809 809 810 if( getenv( "BITLBEE_DEBUG" ) ) 810 printf("%s %s\n", id, name );811 fprintf( stderr, "%s %s\n", id, name ); 811 812 812 813 return XT_HANDLED; … … 869 870 870 871 if( getenv( "BITLBEE_DEBUG" ) ) 871 printf("%s %s %s %s\n", id, type, handle, display_name );872 fprintf( stderr, "%s %s %s %s\n", id, type, handle, display_name ); 872 873 873 874 return XT_HANDLED;
Note: See TracChangeset
for help on using the changeset viewer.