Re: [Qemu-devel] [PATCH] slirp: Fix typo in net_slirp_hostfwd_remove

2011-12-19 Thread Stefan Hajnoczi
On Sat, Dec 17, 2011 at 04:23:59AM -0500, Geoffrey Thomas wrote: > Report an error when err is nonzero, not when it is zero. > > Signed-off-by: Geoffrey Thomas > --- > net/slirp.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Thanks, applied to the trivial patches tree: http://r

Re: [Qemu-devel] [PATCH] slirp: Fix typo in net_slirp_hostfwd_remove

2011-12-17 Thread Jan Kiszka
On 2011-12-17 10:23, Geoffrey Thomas wrote: > Report an error when err is nonzero, not when it is zero. > > Signed-off-by: Geoffrey Thomas > --- > net/slirp.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/net/slirp.c b/net/slirp.c > index 6646ecb..18e07ba 100644

[Qemu-devel] [PATCH] slirp: Fix typo in net_slirp_hostfwd_remove

2011-12-17 Thread Geoffrey Thomas
Report an error when err is nonzero, not when it is zero. Signed-off-by: Geoffrey Thomas --- net/slirp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/slirp.c b/net/slirp.c index 6646ecb..18e07ba 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -351,7 +351,7 @@ void