summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/net/unique_socket.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ocl/net/unique_socket.hpp')
-rw-r--r--include/ocl/net/unique_socket.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ocl/net/unique_socket.hpp b/include/ocl/net/unique_socket.hpp
index 2f8f744..b47dbac 100644
--- a/include/ocl/net/unique_socket.hpp
+++ b/include/ocl/net/unique_socket.hpp
@@ -69,8 +69,8 @@ namespace ocl::net
auto ret = ::recv(cl_, static_cast<void*>(const_cast<char*>(out)), len, 0);
unique_socket sock;
-
- sock.fd_ = cl_;
+
+ sock.fd_ = cl_;
sock.bad_ = ret > 0L;
return std::move(sock);