pud: fix socket error
authorFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 22 Oct 2012 10:19:25 +0000 (12:19 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 22 Oct 2012 11:55:39 +0000 (13:55 +0200)
commit4d4b879c00430d7c4fc0ef7b9e3eb6186053d921
treed09e861161a0434aabffc37632203aaedf4d1c88
parentafd17ee16f34e0df5461a93f7d5deb239f4bcca0
pud: fix socket error

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

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