public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Patrick MacArthur <pmacarth-zcUZCMB5SQOVc3sceRu5cw@public.gmane.org>
To: Sean Hefty <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH librdmacm] rstream: fix "-T resolve" detection
Date: Mon, 21 Apr 2014 11:37:18 -0400	[thread overview]
Message-ID: <53553B2E.9010404@iol.unh.edu> (raw)
In-Reply-To: <1398093444-24384-1-git-send-email-pmacarth-zcUZCMB5SQOVc3sceRu5cw@public.gmane.org>

Hi, Sean,

Add:

Signed-off-by: Patrick MacArthur <pmacarth-zcUZCMB5SQOVc3sceRu5cw@public.gmane.org>

I can resend the patch if you would like.

Thanks,
Patrick

-- 
Patrick MacArthur <pmacarth-zcUZCMB5SQOVc3sceRu5cw@public.gmane.org>
AIM: PmacarthAtIOL

Research and Development, High Performance Networking and Storage
UNH InterOperability Laboratory

On 04/21/2014 11:17 AM, Patrick MacArthur wrote:
> The effect of the check for "-T resolve" was reversed, so that -T with
> any invalid value would result in the "-T resolve" behavior, and
> "-T resolve" would result in an error.
> ---
>  examples/rstream.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/examples/rstream.c b/examples/rstream.c
> index 27326c2ebc7f..05598a89755d 100644
> --- a/examples/rstream.c
> +++ b/examples/rstream.c
> @@ -577,7 +577,7 @@ static int set_test_opt(char *optarg)
>  			flags = (flags & ~MSG_DONTWAIT) | MSG_WAITALL;
>  		} else if (!strncasecmp("nonblock", optarg, 8)) {
>  			flags |= MSG_DONTWAIT;
> -		} else if (strncasecmp("resolve", optarg, 7)) {
> +		} else if (!strncasecmp("resolve", optarg, 7)) {
>  			use_rgai = 1;
>  		} else if (!strncasecmp("verify", optarg, 6)) {
>  			verify = 1;
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2014-04-21 15:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-21 15:17 [PATCH librdmacm] rstream: fix "-T resolve" detection Patrick MacArthur
     [not found] ` <1398093444-24384-1-git-send-email-pmacarth-zcUZCMB5SQOVc3sceRu5cw@public.gmane.org>
2014-04-21 15:37   ` Patrick MacArthur [this message]
     [not found]     ` <53553B2E.9010404-zcUZCMB5SQOVc3sceRu5cw@public.gmane.org>
2014-04-21 15:53       ` Hefty, Sean

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=53553B2E.9010404@iol.unh.edu \
    --to=pmacarth-zcuzcmb5sqovc3sceru5cw@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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