From: Adam Dickmeiss Date: Mon, 1 Mar 2004 17:18:39 +0000 (+0000) Subject: Fix another bug with pre_init X-Git-Tag: YAZPP.0.7.11 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=f8f641aaf624ab2d522fba4f90f6180b0fc0a681;p=yazpp-moved-to-github.git Fix another bug with pre_init --- diff --git a/src/yaz-proxy.cpp b/src/yaz-proxy.cpp index 1caa1ea..f2e5f25 100644 --- a/src/yaz-proxy.cpp +++ b/src/yaz-proxy.cpp @@ -2,7 +2,7 @@ * Copyright (c) 1998-2004, Index Data. * See the file LICENSE for details. * - * $Id: yaz-proxy.cpp,v 1.106 2004-03-01 17:01:52 adam Exp $ + * $Id: yaz-proxy.cpp,v 1.107 2004-03-01 17:18:39 adam Exp $ */ #include @@ -2311,7 +2311,7 @@ void Yaz_Proxy::pre_init() { if (c->m_server == 0) if (c->m_waiting) - spare_waiting; + spare_waiting++; else spare++; else