From: Adam Dickmeiss Date: Thu, 23 Oct 2003 13:00:35 +0000 (+0000) Subject: Set signal again (otherwise Solaris stops) X-Git-Tag: YAZPP.0.7.2~12 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=b7f5f9763615bc85f161b314399102a6804a5e1a;p=yazpp-moved-to-github.git Set signal again (otherwise Solaris stops) --- diff --git a/src/yaz-proxy-main.cpp b/src/yaz-proxy-main.cpp index af64283..a4897b0 100644 --- a/src/yaz-proxy-main.cpp +++ b/src/yaz-proxy-main.cpp @@ -2,7 +2,7 @@ * Copyright (c) 1998-2003, Index Data. * See the file LICENSE for details. * - * $Id: yaz-proxy-main.cpp,v 1.23 2003-10-23 12:14:48 adam Exp $ + * $Id: yaz-proxy-main.cpp,v 1.24 2003-10-23 13:00:35 adam Exp $ */ #include @@ -121,6 +121,7 @@ int args(Yaz_Proxy *proxy, int argc, char **argv) static Yaz_Proxy *static_yaz_proxy = 0; static void sighup_handler(int num) { + signal(SIGHUP, sighup_handler); if (static_yaz_proxy) static_yaz_proxy->reconfig(); }