Changeset 25a48a4e6401509f7a5a2883c9fe42c6450bb08e

Show
Ignore:
Timestamp:
13/08/08 21:01:03 (4 months ago)
Author:
Rémi Denis-Courmont <rdenis@simphalempin.com>
git-committer:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1218654063 +0300
git-parent:

[1375539f9df669d88c7b648be3e9a40e104c0f78]

git-author:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1218654063 +0300
Message:

Avoid printf for debug

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access/rtsp/real.c

    r3561b9b r25a48a4  
    642642        lprintf("real: got message from server:\n%s\n", alert); 
    643643    } 
    644     printf( "bou\n"); 
    645644    rtsp_send_ok( rtsp_session ); 
    646645    free( challenge1 ); 
  • modules/demux/ty.c

    r870a36b r25a48a4  
    829829#if 0 
    830830        int i; 
    831         printf( "Audio Packet Header " ); 
     831        fprintf( stderr, "Audio Packet Header " ); 
    832832        for( i = 0 ; i < 24 ; i++ ) 
    833             printf( "%2.2x ", p_block_in->p_buffer[i] ); 
    834         printf( "\n" ); 
     833            fprintf( stderr, "%2.2x ", p_block_in->p_buffer[i] ); 
     834        fprintf( stderr, "\n" ); 
    835835#endif 
    836836 
  • modules/misc/xml/xtag.c

    rb674dab r25a48a4  
    295295        psz_name = xtag_get_name( p_reader->p_sys->p_curtag ); 
    296296#ifdef XTAG_DEBUG 
    297         printf( "TAG: %s\n", psz_name ); 
     297        fprintf( stderr, "TAG: %s\n", psz_name ); 
    298298#endif 
    299299    } 
     
    311311    { 
    312312#ifdef XTAG_DEBUG 
    313         printf( "%s\n", p_reader->p_sys->p_curtag->pcdata ); 
     313        fprintf( stderr, "%s\n", p_reader->p_sys->p_curtag->pcdata ); 
    314314#endif 
    315315        return strdup( p_reader->p_sys->p_curtag->pcdata ); 
     
    319319 
    320320#ifdef XTAG_DEBUG 
    321     printf( "%s=%s\n", ((XAttribute *)p_reader->p_sys->p_curattr->data)->name, 
     321    fprintf( stderr, "%s=%s\n", ((XAttribute *)p_reader->p_sys->p_curattr->data)->name, 
    322322            ((XAttribute *)p_reader->p_sys->p_curattr->data)->value ); 
    323323#endif 
     
    532532    { 
    533533#ifdef XTAG_DEBUG 
    534         printf( "xtag: attr failed EQUAL on <%s>\n", name ); 
     534        fprintf( stderr, "xtag: attr failed EQUAL on <%s>\n", name ); 
    535535#endif 
    536536        goto err_free_name; 
     
    544544    { 
    545545#ifdef XTAG_DEBUG 
    546         printf ("Got NULL quoted attribute value\n"); 
     546        fprintf (stderr, "Got NULL quoted attribute value\n"); 
    547547#endif 
    548548        goto err_free_name; 
     
    670670 
    671671#ifdef XTAG_DEBUG 
    672     printf ("<%s ...\n", name); 
     672    fprintf (stderr, "<%s ...\n", name); 
    673673#endif 
    674674 
     
    717717            { 
    718718#ifdef XTAG_DEBUG 
    719                 printf ("got %s expected %s\n", name, tag->name); 
     719                fprintf (stderr, "got %s expected %s\n", name, tag->name); 
    720720#endif 
    721721                parser->valid = false; 
     
    785785    { 
    786786#ifdef XTAG_DEBUG 
    787         printf ("empty buffer"); 
     787        fprintf (stderr, "empty buffer\n"); 
    788788#endif 
    789789        return NULL; 
     
    799799    { 
    800800#ifdef XTAG_DEBUG 
    801         printf ("invalid file"); 
     801        fprintf (stderr, "invalid file\n"); 
    802802#endif 
    803803        xtag_free( tag );