diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-18 22:15:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-18 22:15:09 +0000 |
commit | 0d76a2c55ae011fcf630a8231a21d35a833728e3 (patch) | |
tree | 7e61da0d952d0e7ab3c32d7b72e3f1028fb3e35c | |
parent | e41facee2b412fa62b40987440f3bd94fbf30f83 (diff) |
identd incorrectly prefixed a space to the userid/username; from
mouse@Collatz.McRCIM.McGill.EDU; netbsd pr#1848
-rw-r--r-- | libexec/identd/parse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/identd/parse.c b/libexec/identd/parse.c index 26781e8b954..57960806b42 100644 --- a/libexec/identd/parse.c +++ b/libexec/identd/parse.c @@ -1,5 +1,5 @@ /* -** $Id: parse.c,v 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 ? " , " : "", |