From 721ed665c7393c4fa7957f09fe4c3a1036312ce4 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 9 Nov 2007 22:10:10 +0000 Subject: [PATCH] Update for changed yaz_poll parameters --- src/yaz-socket-manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 1.7.10.4