Changeset 444

Show
Ignore:
Timestamp:
07/14/05 20:33:00 (8 years ago)
Author:
ahu
Message:

ignore SIGPIPE, fix warning

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/pdns_recursor.cc

    r442 r444  
    565565    signal(SIGUSR1,usr1Handler); 
    566566    signal(SIGUSR2,usr2Handler); 
     567    signal(SIGPIPE,SIG_IGN); 
    567568 
    568569    writePid(); 
     
    588589    vector<TCPConnection> tcpconnections; 
    589590    counter=0; 
    590     time_t now; 
     591    time_t now=0; 
    591592    unsigned int maxTcpClients=arg().asNum("max-tcp-clients"); 
    592593    for(;;) {