All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Hannes Diethelm <hannes.diethelm@gmail.com>
Cc: xenomai@lists.linux.dev
Subject: Re: [PATCH 1/1] tidbits: net-udp: fix error handling in client
Date: Wed, 27 May 2026 06:52:32 +0200	[thread overview]
Message-ID: <877bopihdb.fsf@xenomai.org> (raw)
In-Reply-To: <20260526182923.4576-2-hannes.diethelm@gmail.com> (Hannes Diethelm's message of "Tue, 26 May 2026 20:29:23 +0200")

Hannes Diethelm <hannes.diethelm@gmail.com> writes:

> Also fix mistake in comment
>
> Signed-off-by: Hannes Diethelm <hannes.diethelm@gmail.com>
> ---
>  tidbits/oob-net-udp.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/tidbits/oob-net-udp.c b/tidbits/oob-net-udp.c
> index 3cd7cb2..11b8459 100644
> --- a/tidbits/oob-net-udp.c
> +++ b/tidbits/oob-net-udp.c
> @@ -8,7 +8,7 @@
>   * The server mode [-S] receives a packet from on a given
>   * port and sends a response to the sender's ip/port.
>   *
> - * The client mode [-S] sends a packet to a port/ip
> + * The client mode [-C] sends a packet to a port/ip
>   * and receives the response from a server. The round
>   * trip time is measured.
>   *
> @@ -443,6 +443,8 @@ int main(int argc, char *argv[])
>  		 */
>  		ret = evl_net_solicit(s, (const struct sockaddr *)&addr,
>  				EVL_NEIGH_PERMANENT);
> +		if (ret)
> +			error(1, -ret, "evl_net_solicit()");
>  
>  		client(s, text, mcount, &addr, iter, delay);
>  	} else if (mode == SERVER) {

Merged, thanks.

-- 
Philippe.

  reply	other threads:[~2026-05-27  4:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-26 18:29 [PATCH 0/1] fix error handling in client Hannes Diethelm
2026-05-26 18:29 ` [PATCH 1/1] tidbits: net-udp: " Hannes Diethelm
2026-05-27  4:52   ` Philippe Gerum [this message]
2026-05-27  6:37 ` [PATCH 0/1] " Philippe Gerum

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=877bopihdb.fsf@xenomai.org \
    --to=rpm@xenomai.org \
    --cc=hannes.diethelm@gmail.com \
    --cc=xenomai@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.