Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/usr.bin/ftp Pull up revision 1.128 (requested by lukem in...
details: https://anonhg.NetBSD.org/src/rev/37e6bd638f6a
branches: netbsd-3
changeset: 576756:37e6bd638f6a
user: tron <tron%NetBSD.org@localhost>
date: Sun Jul 24 10:24:07 2005 +0000
description:
Pull up revision 1.128 (requested by lukem in ticket #606):
formatbuf(): fix %m and %M to use the hostname, not the username.
diffstat:
usr.bin/ftp/util.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1661334db1c9 -r 37e6bd638f6a usr.bin/ftp/util.c
--- a/usr.bin/ftp/util.c Sun Jul 24 10:23:44 2005 +0000
+++ b/usr.bin/ftp/util.c Sun Jul 24 10:24:07 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: util.c,v 1.117.2.10 2005/07/24 10:23:36 tron Exp $ */
+/* $NetBSD: util.c,v 1.117.2.11 2005/07/24 10:24:07 tron Exp $ */
/*-
* Copyright (c) 1997-2005 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: util.c,v 1.117.2.10 2005/07/24 10:23:36 tron Exp $");
+__RCSID("$NetBSD: util.c,v 1.117.2.11 2005/07/24 10:24:07 tron Exp $");
#endif /* not lint */
/*
@@ -1167,7 +1167,7 @@
case 'M':
case 'm':
- for (p2 = connected && username ? username : "-";
+ for (p2 = connected && hostname ? hostname : "-";
*p2 ; p2++) {
if (op == 'm' && *p2 == '.')
break;
Home |
Main Index |
Thread Index |
Old Index