aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/log.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-09 12:47:28 +0000
committermarha <marha@users.sourceforge.net>2011-03-09 12:47:28 +0000
commitca5d010292c57383da523797a095ac847e1fe103 (patch)
treec1ec0ec785c855bc5815714f6685deb10acdad0a /xorg-server/os/log.c
parent837a26770cb9f1d8d7a4ce40e06db9bb05683702 (diff)
downloadvcxsrv-ca5d010292c57383da523797a095ac847e1fe103.tar.gz
vcxsrv-ca5d010292c57383da523797a095ac847e1fe103.tar.bz2
vcxsrv-ca5d010292c57383da523797a095ac847e1fe103.zip
Enable only functions defined in windows XP
Enabled IPV6 compilation
Diffstat (limited to 'xorg-server/os/log.c')
-rw-r--r--xorg-server/os/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/os/log.c b/xorg-server/os/log.c
index 8d4dfc4ec..8b5d24b94 100644
--- a/xorg-server/os/log.c
+++ b/xorg-server/os/log.c
@@ -510,7 +510,7 @@ VAuditF(const char *f, va_list args)
if (auditTimer != NULL)
TimerForce(auditTimer);
ErrorF("%s%s", prefix != NULL ? prefix : "", buf);
- strlcpy(oldbuf, buf, sizeof(oldbuf));
+ strncpy(oldbuf, buf, sizeof(oldbuf));
oldlen = len;
nrepeat = 0;
auditTimer = TimerSet(auditTimer, 0, AUDIT_TIMEOUT, AuditFlush, NULL);