X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fsocket_client.hxx;fp=src%2Fsocket_client.hxx;h=a17ec88ad2119416ae8d795153c0159ab82cf447;hp=198e1a7cd262b0a917484b4350d0612a1096beff;hb=07e98688a1a8c3e915ce923f79261a88251a9edd;hpb=644c4d262aab14ee4ec1cfade83a2e99568098d3 diff --git a/src/socket_client.hxx b/src/socket_client.hxx index 198e1a7..a17ec88 100644 --- a/src/socket_client.hxx +++ b/src/socket_client.hxx @@ -45,8 +45,8 @@ class socket_client_connection : public client_connection, public socket_handler socket_client_connection(const std::string& _server, int _port, int _max_retries=max_retries_default); socket_client_connection(const std::string& _path, int _max_retries=max_retries_default); - void fill_buffer(long long usec_timeout=-1) - { socket_handler::fill_buffer(buffer,usec_timeout); } + bool fill_buffer(long long usec_timeout=-1) + { return socket_handler::fill_buffer(buffer,usec_timeout); } void close(); };