Skip to content
Commit 934195cc authored by Paul Sokolovsky's avatar Paul Sokolovsky Committed by Carles Cufí
Browse files

net: sockets: zsock_accepted_cb: Init child socket on success only



If accept callback is called with error, don't treat the context
passed to the callback as a new accepted context.

Signed-off-by: default avatarPaul Sokolovsky <paul.sokolovsky@linaro.org>
parent 9e02f7b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment