pud: fix socket error
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 <66e11f9f5d965b69497c7e73d5e808f8b13c1218@pelagic.nl>

cholin/olsrd,diogomg/olsrd,sebkur/olsrd,nolith/olsrd,diogomg/olsrd-binary-heap,diogomg/olsrd,diogomg/olsrd-binary-heap,acinonyx/olsrd,tdz/olsrd,ninuxorg/olsrd,nolith/olsrd,ninuxorg/olsrd,nolith/olsrd,diogomg/olsrd-binary-heap,diogomg/olsrd-binary-heap,sebkur/olsrd,sebkur/olsrd,diogomg/olsrd,cholin/olsrd,sebkur/olsrd,zioproto/olsrd,acinonyx/olsrd,zioproto/olsrd,diogomg/olsrd,tdz/olsrd,cholin/olsrd,acinonyx/olsrd,tdz/olsrd,zioproto/olsrd,tdz/olsrd,acinonyx/olsrd,diogomg/olsrd-binary-heap,sebkur/olsrd,ninuxorg/olsrd,diogomg/olsrd-binary-heap,cholin/olsrd,zioproto/olsrd,diogomg/olsrd-binary-heap,nolith/olsrd,diogomg/olsrd,cholin/olsrd,tdz/olsrd,ninuxorg/olsrd,diogomg/olsrd,diogomg/olsrd,sebkur/olsrd,acinonyx/olsrd,ninuxorg/olsrd,zioproto/olsrd,nolith/olsrd