httpinfo: do not close an 'error' socket return value
authorFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 22 Oct 2012 13:31:51 +0000 (15:31 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 22 Oct 2012 13:33:15 +0000 (15:33 +0200)
commit44f896f7b5f1f8656804239a44d2ff1851216ecd
treef3dee42e55bb3a95fb1d846a00550692c7f2cb91
parent8a8c6b3b92a92ee9db89a89b526d699db46d75f8
httpinfo: do not close an 'error' socket return value

Coverity:
CID 739658 (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS)
At (5): "client_socket" is passed to a parameter that cannot be negative.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/httpinfo/src/olsrd_httpinfo.c