1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-03 06:45:37 -08:00

remove redundant string termination; report from nimadeus@pandora.be

This commit is contained in:
djm 2004-01-12 21:18:39 +00:00
parent 27682d8baa
commit b29dff6cfc

View File

@ -1,4 +1,4 @@
/* $OpenBSD: syslogc.c,v 1.2 2004/01/05 02:21:06 deraadt Exp $ */
/* $OpenBSD: syslogc.c,v 1.3 2004/01/12 21:18:39 djm Exp $ */
/*
* Copyright (c) 2004 Damien Miller
@ -102,7 +102,6 @@ main(int argc, char **argv)
}
strlcpy(ctl.sun_path, ctlsock_path, sizeof(ctl.sun_path));
ctl.sun_path[sizeof(ctl.sun_path) - 1] = '\0';
ctl.sun_family = AF_UNIX;
if ((ctlsock = socket(PF_UNIX, SOCK_STREAM, 0)) < 0)