]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/Accepter: check setsockopt return value
authorSage Weil <sage@inktank.com>
Fri, 24 Aug 2012 23:45:29 +0000 (16:45 -0700)
committerSage Weil <sage@inktank.com>
Fri, 31 Aug 2012 20:11:34 +0000 (13:11 -0700)
commit1b1a0bf60a1b14ccdffd20ae8719bc09dd77c8e0
treeb6dd070b1f63ce1ac508940f37a8b4ed8578eeb6
parent484fd0c0ec742b7c25fa55fe6ca848aad3ddf056
msg/Accepter: check setsockopt return value

CCID 716856: Other violation (CHECKED_RETURN)
At (7): Calling function "setsockopt(this->listen_sd, 1, 2, &on, 4U)" without checking return value. This library function may fail and return an error code.

Signed-off-by: Sage Weil <sage@inktank.com>
src/msg/Accepter.cc