Ignore:
Timestamp:
2007-11-29T21:55:14Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
4306d8b, 94d52d64
Parents:
b6a2373
Message:

printf() in daemons considered harmful.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/events_libevent.c

    rb6a2373 r9ff5737  
    3232#include <unistd.h>
    3333#include <sys/types.h>
    34 #include "proxy.h"
    35 
    3634#include <sys/time.h>
    3735#include <event.h>
     36#include "proxy.h"
    3837
    3938static void b_main_restart();
    40 
    4139static guint id_next = 1;
    4240static GHashTable *id_hash;
     
    9391                }
    9492               
    95                 printf( "New event loop.\n" );
     93                event_debug( "New event loop.\n" );
    9694        }
    9795}
     
    104102        event_base_loopexit( leh, &tv );
    105103       
    106         printf( "b_main_restart()\n" );
     104        event_debug( "b_main_restart()\n" );
    107105}
    108106
Note: See TracChangeset for help on using the changeset viewer.