summaryrefslogtreecommitdiffstats
path: root/libexec/ftp-proxy/util.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2002-06-09 01:03:12 +0000
committerbeck <beck@openbsd.org>2002-06-09 01:03:12 +0000
commitec93af8e29949b6ebdcd0b33d3fe495b7df168a4 (patch)
tree0c30b2ca9b4d19133e806b23ab029f051d40675b /libexec/ftp-proxy/util.c
parentchange M_AUTHxx to openbsd definition (M_AUTH_AH) (diff)
downloadwireguard-openbsd-ec93af8e29949b6ebdcd0b33d3fe495b7df168a4.tar.xz
wireguard-openbsd-ec93af8e29949b6ebdcd0b33d3fe495b7df168a4.zip
no newlines in syslog
Diffstat (limited to 'libexec/ftp-proxy/util.c')
-rw-r--r--libexec/ftp-proxy/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ftp-proxy/util.c b/libexec/ftp-proxy/util.c
index 39964b468fa..0ab01fc9925 100644
--- a/libexec/ftp-proxy/util.c
+++ b/libexec/ftp-proxy/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.8 2002/05/23 10:22:14 deraadt Exp $ */
+/* $OpenBSD: util.c,v 1.9 2002/06/09 01:03:12 beck Exp $ */
/*
* Copyright (c) 1996-2001
@@ -183,7 +183,7 @@ snarf:
return(-1);
} else {
offset = 0;
- debuglog(3, "xfer got %d bytes from socket\n", rlen);
+ debuglog(3, "xfer got %d bytes from socket", rlen);
while (offset < rlen) {
int wlen;
@@ -201,7 +201,7 @@ snarf:
errno = xerrno;
return(-1);
} else {
- debuglog(3, "wrote %d bytes to socket\n",wlen);
+ debuglog(3, "wrote %d bytes to socket",wlen);
offset += wlen;
}
}