public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCH] batctl: avoid error message when command was successful
Date: Sun, 17 Apr 2011 18:22:10 +0200	[thread overview]
Message-ID: <20110417162210.GA19178@pandem0nium> (raw)
In-Reply-To: <1302708420-8552-1-git-send-email-lindner_marek@yahoo.de>

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

Applied in eee3fc6,

thanks
	Simon

On Wed, Apr 13, 2011 at 05:27:00PM +0200, Marek Lindner wrote:
> Reported-by: Linus Lüssing <linus.luessing@web.de>
> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
> ---
>  sys.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sys.c b/sys.c
> index 729f898..3511b40 100644
> --- a/sys.c
> +++ b/sys.c
> @@ -420,10 +420,10 @@ int handle_gw_setting(char *mesh_iface, int argc, char **argv)
>  	case GW_MODE_SERVER:
>  		res = write_file(path_buff, SYS_GW_BW, argv[2], NULL);
>  		break;
> -	default:
> -		goto out;
>  	}
>  
> +	goto out;
> +
>  opt_err:
>  	printf("Error - the supplied argument is invalid: %s\n", argv[1]);
>  	printf("The following values are allowed:\n");
> -- 
> 1.7.2.3
> 
> 

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

      parent reply	other threads:[~2011-04-17 16:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-13 15:27 [B.A.T.M.A.N.] [PATCH] batctl: avoid error message when command was successful Marek Lindner
2011-04-16  8:04 ` Sven Eckelmann
2011-04-17 16:22 ` Simon Wunderlich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110417162210.GA19178@pandem0nium \
    --to=simon.wunderlich@s2003.tu-chemnitz.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox