Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 May 2006 17:06:37 +0300
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        Rink Springer <rink@rink.nu>
Cc:        Tom Rhodes <trhodes@FreeBSD.org>, arch@FreeBSD.org
Subject:   Re: [RFC] Syslogd service patch
Message-ID:  <20060515140636.GA17196@gothmog.pc>
In-Reply-To: <20060513132917.GC79186@rink.nu>
References:  <20060328070332.GA53789@rink.nu> <20060328205625.658396e8.trhodes@FreeBSD.org> <20060513132917.GC79186@rink.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-05-13 15:29, Rink Springer <rink@rink.nu> wrote:
> Hi Tom,
>
> Sorry for the extremely long delay (I was moving...). A new patch
> can be found at http://rink.nu/tmp/syslogd2.diff.
>
> As per your comments:
> [...]
> > ??  *cp++ = 0?
> >
> > Perhaps I'm just lost.
>
> This is used to null-terminate the host name; this avoids using the
> 'host:service' pair as the hostname.

This part should probably be written as:

	*cp++ = '\0';

I know this is just a style-change, but it conveys more clearly the
meaning of terminating a string with '\0', so I tend to like it
better this way.

- Giorgos




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060515140636.GA17196>