slirp: Fix typo in net_slirp_hostfwd_remove
authorGeoffrey Thomas <geofft@ldpreload.com>
Sat, 17 Dec 2011 09:23:59 +0000 (04:23 -0500)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 19 Dec 2011 10:42:44 +0000 (10:42 +0000)
commitb15ba6c95147e62671b29580c3b9056773cc496e
tree4d33646fa55fc44bcafeddb02dbd36e503b8d7b6
parent7b011fbc050d442a20ed5d2a29724570c1557661
slirp: Fix typo in net_slirp_hostfwd_remove

Report an error when err is nonzero, not when it is zero.

Signed-off-by: Geoffrey Thomas <geofft@ldpreload.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
net/slirp.c