Commit 10401415 authored by Jukka Rissanen's avatar Jukka Rissanen
Browse files

samples: net: echo-server: Ignore the return value of close()



We are not interested in whether the close() call succeeds or
not when the connection is terminated.

Coverity-CID: 198878
Fixes #16569

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent 9a1e9273
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -169,7 +169,7 @@ static int process_tcp(struct data *data)
#endif
	} while (true);

	close(client);
	(void)close(client);

	return ret;
}