server: Make it explicit that the setsockopt() return value is ignored
authorBart Van Assche <bvanassche@acm.org>
Sun, 12 Jan 2020 00:31:14 +0000 (16:31 -0800)
committerBart Van Assche <bvanassche@acm.org>
Sun, 12 Jan 2020 02:17:37 +0000 (18:17 -0800)
commitaffc8edfe90306d12fad8fddd474c52b6ba14a0a
treefca573743e500b9dcba267dd5d561f10d1332ed2
parent2ba46d1b1a114688ff7be9852ba32d27c6e50188
server: Make it explicit that the setsockopt() return value is ignored

This patch fixes the following Coverity complaint:

CID 169316 (#1 of 1): Unchecked return value from library (CHECKED_RETURN)
5. check_return: Calling setsockopt(sk, 1, 15, &opt, 4U) without checking return value. This library function may fail and return an error code.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
server.c