From: Adam Dickmeiss Date: Fri, 9 Nov 2007 22:10:10 +0000 (+0000) Subject: Update for changed yaz_poll parameters X-Git-Tag: YAZPP.1.1.0~11 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=721ed665c7393c4fa7957f09fe4c3a1036312ce4;p=yazpp-moved-to-github.git Update for changed yaz_poll parameters --- diff --git a/src/yaz-socket-manager.cpp b/src/yaz-socket-manager.cpp index edc56af..c623b20 100644 --- a/src/yaz-socket-manager.cpp +++ b/src/yaz-socket-manager.cpp @@ -2,7 +2,7 @@ * Copyright (c) 1998-2005, Index Data. * See the file LICENSE for details. * - * $Id: yaz-socket-manager.cpp,v 1.37 2007-11-09 21:49:15 adam Exp $ + * $Id: yaz-socket-manager.cpp,v 1.38 2007-11-09 22:10:10 adam Exp $ */ #if HAVE_SYS_TIME_H @@ -160,7 +160,7 @@ int SocketManager::processEvent() } int pass = 0; - while ((res = yaz_poll(fds, no_fds, timeout)) < 0) + while ((res = yaz_poll(fds, no_fds, timeout, 0)) < 0) { if (errno != EINTR) {