[RFC] Syslogd service patch

Giorgos Keramidas keramida at FreeBSD.org
Mon May 15 14:05:10 UTC 2006


On 2006-05-13 15:29, Rink Springer <rink at 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



More information about the freebsd-arch mailing list