Peter Maydell, le mar. 06 nov. 2018 15:13:22 +0000, a ecrit: > Now that socreate() can never fail, we can remove the code > that was trying to handle that situation. > > In particular this removes code in tcp_connect() that > provoked Coverity to complain (CID 1005724): in > closesocket(accept(inso->s, (struct sockaddr *)&addr, &addrlen)); > if the accept() call fails then we pass closesocket() -1 > instead of a valid file descriptor. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
Applied, thanks!