hail-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: Project Hail List <hail-devel@vger.kernel.org>
Subject: Re: [chunkd patch 4/6] Print client port
Date: Tue, 25 May 2010 18:23:27 -0400	[thread overview]
Message-ID: <4BFC4DDF.5010702@garzik.org> (raw)
In-Reply-To: <20100520225431.4cf7a05a@redhat.com>

On 05/21/2010 12:54 AM, Pete Zaitcev wrote:
> -		    host, sizeof(host), NULL, 0, NI_NUMERICHOST);
> +		    host, sizeof(host), port, sizeof(port), NI_NUMERICHOST);
>   	host[sizeof(host) - 1] = 0;
> -	applog(LOG_INFO, "client %s connected%s", host,
> +	host[sizeof(port) - 1] = 0;


You truncate the wrong variable.

      reply	other threads:[~2010-05-25 22:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21  4:54 [chunkd patch 4/6] Print client port Pete Zaitcev
2010-05-25 22:23 ` Jeff Garzik [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=4BFC4DDF.5010702@garzik.org \
    --to=jeff@garzik.org \
    --cc=hail-devel@vger.kernel.org \
    --cc=zaitcev@redhat.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).