mdns: do not close an fd that is not open
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 09:45:03 +0000 (11:45 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 11:45:14 +0000 (13:45 +0200)
commitfd16a77ce9da92a5df0f0640118711cb91c99bef
tree5719fd169b88db7476af808d624c7d8541029ee4
parentbbc9639d8b15efd5c8484f2ca36f0ba71ed45d1a
mdns: do not close an fd that is not open

Coverity:
CID 739656 (#5 of 14): Argument cannot be negative (NEGATIVE_RETURNS)
At (8): "encapsulatingSkfd" is passed to a parameter that cannot be
        negative.
CID 739656 (#7-8 of 14): Argument cannot be negative (NEGATIVE_RETURNS)
At (10): "encapsulatingSkfd" is passed to a parameter that cannot be
         negative.

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