* Re: [Qemu-trivial] [PATCH] slirp: Fix typo in net_slirp_hostfwd_remove
[not found] <alpine.DEB.2.02.1112170420460.22177@tyger.mit.edu>
@ 2011-12-17 19:52 ` Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2011-12-17 19:52 UTC (permalink / raw)
To: Geoffrey Thomas; +Cc: qemu-trivial, qemu-devel, Stefan Hajnoczi
[-- Attachment #1: Type: text/plain, Size: 832 bytes --]
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 <geofft@ldpreload.com>
> ---
> 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 net_slirp_hostfwd_remove(Monitor *mon, const
> QDict *qdict)
> host_addr, host_port);
>
> monitor_printf(mon, "host forwarding rule for %s %s\n", src_str,
> - err ? "removed" : "not found");
> + err ? "not found" : "removed");
> return;
>
> fail_syntax:
Oops, obviously. Stefan, should be another trivial one for you.
Thanks,
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-12-17 19:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <alpine.DEB.2.02.1112170420460.22177@tyger.mit.edu>
2011-12-17 19:52 ` [Qemu-trivial] [PATCH] slirp: Fix typo in net_slirp_hostfwd_remove Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).