X-Git-Url: http://git.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Feventl.c;h=3b689cd095d653c5dc393f9d559feaaf588eb403;hb=a964acd184fc66313c7fb196fe7fb9f34de77c90;hp=7cbd6b0bbd9a6901bd756d7a33b78c512430ba1a;hpb=f89a08d579f270d78b6e48a04ec63cef23539c88;p=pazpar2-moved-to-github.git diff --git a/src/eventl.c b/src/eventl.c index 7cbd6b0..3b689cd 100644 --- a/src/eventl.c +++ b/src/eventl.c @@ -28,19 +28,22 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Based on revision YAZ' server/eventl.c 1.29. */ -#include -#include - #if HAVE_CONFIG_H #include #endif +#include +#include + #ifdef WIN32 #include #else #include #endif +#if HAVE_SYS_TIME_H #include +#endif + #include #include #include @@ -107,7 +110,10 @@ int event_loop(IOCHAN *iochans) if (errno == EINTR) continue; else - abort(); + { + yaz_log(YLOG_ERRNO|YLOG_WARN, "select"); + return 0; + } } for (p = *iochans; p; p = p->next) {