libt2n: (tomj) fixed call of virtual function close() from destructor, fixed return...
[libt2n] / src / socket_client.hxx
index 4b0431a..eaad92f 100644 (file)
@@ -82,7 +82,7 @@ class socket_client_connection : public client_connection, public socket_handler
         bool fill_buffer(long long usec_timeout=-1, long long *usec_timeout_remaining=NULL)
             { return socket_handler::fill_buffer(buffer,usec_timeout,usec_timeout_remaining); }
 
-        void close();
+        virtual void close();
 
         void reconnect();