From 363424f15a6482f8496dc9d3dab26fd9cf0d6dfc Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Sun, 19 Apr 2020 14:25:35 +0200 Subject: [PATCH] joined some lines into one --- socketstream.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/socketstream.cpp b/socketstream.cpp index b57960a..a0cc416 100644 --- a/socketstream.cpp +++ b/socketstream.cpp @@ -100,9 +100,7 @@ void socketstream::make_server(const socket_address& sa) { socketstream socketstream::accept() const { socketstream peer; socklen_t len = sizeof(struct sockaddr_storage); - int active_socket = ::accept(_socket, - reinterpret_cast(&peer._sa), - &len); + int active_socket = ::accept(_socket, reinterpret_cast(&peer._sa), &len); throw_if_min1(active_socket); peer._socket = active_socket; peer._domain = _domain;