From 5a019f435eb0068b524566d9babf172d58d0e96e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:48 +0200 Subject: tagging ychat-0.7.9.2 --- src/sock/sock.cpp | 2 +- src/sock/sock.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sock') diff --git a/src/sock/sock.cpp b/src/sock/sock.cpp index 5f6ede3..42daf24 100755 --- a/src/sock/sock.cpp +++ b/src/sock/sock.cpp @@ -306,7 +306,7 @@ sock::clean_ipcache() int i_ipcachesize = wrap::CONF->get_int("httpd.ipcachesize"); int i_currentsize = size(); - if ( i_currentsize > 0 && (i_ipcachesize == 0 || i_ipcachesize >= i_currentsize) ) + if ( i_currentsize > 0 && (i_ipcachesize == 0 || i_ipcachesize <= i_currentsize) ) { wrap::system_message( SOCKCA2+tool::int2string(i_currentsize)+","+tool::int2string(i_ipcachesize)+")"); diff --git a/src/sock/sock.h b/src/sock/sock.h index 62f32ae..bb34fc8 100755 --- a/src/sock/sock.h +++ b/src/sock/sock.h @@ -21,7 +21,7 @@ using namespace std; -class sock : protected shashmap +class sock : public shashmap < string, uint32_t, self_hash, equals_allocator > { private: -- cgit v1.2.3