summaryrefslogtreecommitdiff
path: root/src/sock/sock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sock/sock.cpp')
-rw-r--r--src/sock/sock.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sock/sock.cpp b/src/sock/sock.cpp
index 45583e3..0bfd57e 100644
--- a/src/sock/sock.cpp
+++ b/src/sock/sock.cpp
@@ -44,6 +44,7 @@ sock::sock()
this->log_daemon = new logd( wrap::CONF->get_elem( "httpd.logging.accessfile" ),
wrap::CONF->get_elem( "httpd.logging.access_lines" ) );
#endif
+}
this->ip_cache_map = new shashmap
< string, unsigned, self_hash<unsigned>, equals_allocator<unsigned> >;
@@ -545,5 +546,6 @@ sock::clean_ipcache()
SOCKCA2+tool::int2string(i_currentsize)+","+tool::int2string(i_ipcachesize)+")");
}
}
+#endif
#endif