pud: fix socket error
authorFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 22 Oct 2012 11:45:40 +0000 (13:45 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 22 Oct 2012 11:55:39 +0000 (13:55 +0200)
commit1aeaf0d99cbadb8259a7180ca96005d5aff2d282
tree65a040c5e29e51df4440bbb3fde1b98b5ecc32ae
parent4d4b879c00430d7c4fc0ef7b9e3eb6186053d921
pud: fix socket error

Coverity:
CID 739663 (#2 of 2): Argument cannot be negative (NEGATIVE_RETURNS)
At (8): "fd" is passed to a parameter that cannot be negative.

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