From 2d21fb7f6fdf924a2dcbb69722425f555b80821f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 21 Jun 2005 17:36:46 +0000 Subject: [PATCH] Init member timeout_this in socket manager (valgrind warnig) --- src/yaz-socket-manager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/yaz-socket-manager.cpp b/src/yaz-socket-manager.cpp index cc26b97..0d4fc30 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.33 2005-06-08 13:28:06 adam Exp $ + * $Id: yaz-socket-manager.cpp,v 1.34 2005-06-21 17:36:46 adam Exp $ */ #ifdef WIN32 #include @@ -167,6 +167,8 @@ int SocketManager::processEvent() yaz_log (m_log, "SocketManager::select timeout_this=%d", p->timeout_this); } + else + p->timeout_this = -1; } if (!no) { -- 1.7.10.4