Fix init of max_sockets
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 6 Dec 2011 13:27:19 +0000 (14:27 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 6 Dec 2011 13:27:19 +0000 (14:27 +0100)
src/yaz-proxy.cpp

index bd50ebd..20d8e28 100644 (file)
@@ -3558,7 +3558,7 @@ void Yaz_Proxy::pre_init()
     const char *zurl_in_use[MAX_ZURL_PLEX];
     int limit_bw, limit_pdu, limit_req, limit_search;
     int target_idletime, client_idletime;
-    int max_sockets;
+    int max_sockets = m_max_sockets;
     int max_clients;
     int keepalive_limit_bw, keepalive_limit_pdu;
     int pre_init;