summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1995-12-18 22:15:08 +0000
committerderaadt <deraadt@openbsd.org>1995-12-18 22:15:08 +0000
commitca66009f0bb5b82e8a3db6aed419b43c6c167006 (patch)
treea7ca1254d8b604a9e8ec382badcb66360ea34ae9
parent-Werror is too strong, and causes too many headaches in a source tree (diff)
downloadwireguard-openbsd-ca66009f0bb5b82e8a3db6aed419b43c6c167006.tar.xz
wireguard-openbsd-ca66009f0bb5b82e8a3db6aed419b43c6c167006.zip
identd incorrectly prefixed a space to the userid/username; from
mouse@Collatz.McRCIM.McGill.EDU; netbsd pr#1848
-rw-r--r--libexec/identd/parse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/identd/parse.c b/libexec/identd/parse.c
index bfebf851f47..57960806b42 100644
--- a/libexec/identd/parse.c
+++ b/libexec/identd/parse.c
@@ -1,5 +1,5 @@
/*
-** $Id: parse.c,v 1.1.1.1 1995/10/18 08:43:18 deraadt Exp $
+** $Id: parse.c,v 1.2 1995/12/18 22:15:08 deraadt Exp $
**
** parse.c This file contains the protocol parser
**
@@ -355,7 +355,7 @@ int parse(fp, laddr, faddr)
syslog(LOG_WARNING, "getpwuid() could not map uid (%d) to name",
uid);
- printf("%d , %d : USERID : OTHER%s%s : %d\r\n",
+ printf("%d , %d : USERID : OTHER%s%s :%d\r\n",
lport, fport,
charset_name ? " , " : "",
charset_name ? charset_name : "",
@@ -384,13 +384,13 @@ int parse(fp, laddr, faddr)
}
if (number_flag)
- printf("%d , %d : USERID : OTHER%s%s : %d\r\n",
+ printf("%d , %d : USERID : OTHER%s%s :%d\r\n",
lport, fport,
charset_name ? " , " : "",
charset_name ? charset_name : "",
uid);
else
- printf("%d , %d : USERID : %s%s%s : %s\r\n",
+ printf("%d , %d : USERID : %s%s%s :%s\r\n",
lport, fport,
other_flag ? "OTHER" : "UNIX",
charset_name ? " , " : "",