Added ignore handler for SIGPIPE that can occur when writing to a terminated

external channel.


git-svn-id: http://yate.null.ro/svn/yate/trunk@227 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2005-01-22 00:40:20 +00:00
parent 83f95d86bc
commit 7e58729fe9
1 changed files with 1 additions and 0 deletions

View File

@ -233,6 +233,7 @@ int Engine::run()
unsigned long corr = 0;
::signal(SIGHUP,sighandler);
::signal(SIGQUIT,sighandler);
::signal(SIGPIPE,SIG_IGN);
Output("Yate engine is initialized and starting up");
while (s_haltcode == -1) {
if (s_init) {