Fix another bug with pre_init YAZPP.0.7.11
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 1 Mar 2004 17:18:39 +0000 (17:18 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 1 Mar 2004 17:18:39 +0000 (17:18 +0000)
src/yaz-proxy.cpp

index 1caa1ea..f2e5f25 100644 (file)
@@ -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 <unistd.h>
@@ -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