- Timestamp:
- 2010-08-21T17:27:32Z (14 years ago)
- Branches:
- master
- Children:
- 4022b68
- Parents:
- a366cca
- Location:
- lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ssl_gnutls.c
ra366cca r327af51 189 189 ssl_errno = SSL_AGAIN; 190 190 191 if( getenv( "BITLBEE_DEBUG" ) && st > 0 ) write( 1, buf, st );191 if( 0 && getenv( "BITLBEE_DEBUG" ) && st > 0 ) write( 1, buf, st ); 192 192 193 193 return st; … … 210 210 ssl_errno = SSL_AGAIN; 211 211 212 if( getenv( "BITLBEE_DEBUG" ) && st > 0 ) write( 1, buf, st );212 if( 0 && getenv( "BITLBEE_DEBUG" ) && st > 0 ) write( 1, buf, st ); 213 213 214 214 return st; -
lib/ssl_openssl.c
ra366cca r327af51 207 207 } 208 208 209 if( getenv( "BITLBEE_DEBUG" ) && st > 0 ) write( 1, buf, st );209 if( 0 && getenv( "BITLBEE_DEBUG" ) && st > 0 ) write( 1, buf, st ); 210 210 211 211 return st; … … 224 224 st = SSL_write( ((struct scd*)conn)->ssl, buf, len ); 225 225 226 if( getenv( "BITLBEE_DEBUG" ) && st > 0 ) write( 1, buf, st );226 if( 0 && getenv( "BITLBEE_DEBUG" ) && st > 0 ) write( 1, buf, st ); 227 227 228 228 ssl_errno = SSL_OK; -
lib/xmltree.c
ra366cca r327af51 338 338 /* Print the attributes */ 339 339 for( i = 0; node->attr[i].key; i ++ ) 340 printf( " %s=\"%s\"", node->attr[i].key, g_markup_escape_text( node->attr[i].value, -1 ) ); 340 { 341 char *v = g_markup_escape_text( node->attr[i].value, -1 ); 342 printf( " %s=\"%s\"", node->attr[i].key, v ); 343 g_free( v ); 344 } 341 345 342 346 /* /> in case there's really *nothing* inside this tag, otherwise … … 358 362 for( i = 0; node->text[i] && isspace( node->text[i] ); i ++ ); 359 363 if( node->text[i] ) 360 printf( "%s", g_markup_escape_text( node->text, -1 ) ); 364 { 365 char *v = g_markup_escape_text( node->text, -1 ); 366 printf( "%s", v ); 367 g_free( v ); 368 } 361 369 } 362 370
Note: See TracChangeset
for help on using the changeset viewer.