Re: [Qemu-devel] [PATCH] net/slirp: Convert atoi to qemu_strtoi to allow error checking

2018-03-16 Thread Samuel Thibault
Nia Alarie, on ven. 16 mars 2018 14:39:21 +, wrote: > Signed-off-by: Nia Alarie Applied to my tree, thanks! > --- > net/slirp.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/net/slirp.c b/net/slirp.c > index 8991816bbf..e938944bd4 100644

[Qemu-devel] [PATCH] net/slirp: Convert atoi to qemu_strtoi to allow error checking

2018-03-16 Thread Nia Alarie
Signed-off-by: Nia Alarie --- net/slirp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/slirp.c b/net/slirp.c index 8991816bbf..e938944bd4 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -486,7 +486,9 @@ void hmp_hostfwd_remove(Monitor *mon, const