Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/ftp rename argument from "bool" to "val"



details:   https://anonhg.NetBSD.org/src/rev/6b0a8cafa1fc
branches:  trunk
changeset: 750719:6b0a8cafa1fc
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Jan 12 06:50:04 2010 +0000

description:
rename argument from "bool" to "val"

diffstat:

 usr.bin/ftp/cmds.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r b97471cb8c14 -r 6b0a8cafa1fc usr.bin/ftp/cmds.c
--- a/usr.bin/ftp/cmds.c        Tue Jan 12 04:44:06 2010 +0000
+++ b/usr.bin/ftp/cmds.c        Tue Jan 12 06:50:04 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cmds.c,v 1.130 2009/07/13 19:05:41 roy Exp $   */
+/*     $NetBSD: cmds.c,v 1.131 2010/01/12 06:50:04 lukem Exp $ */
 
 /*-
  * Copyright (c) 1996-2009 The NetBSD Foundation, Inc.
@@ -96,7 +96,7 @@
 #if 0
 static char sccsid[] = "@(#)cmds.c     8.6 (Berkeley) 10/9/94";
 #else
-__RCSID("$NetBSD: cmds.c,v 1.130 2009/07/13 19:05:41 roy Exp $");
+__RCSID("$NetBSD: cmds.c,v 1.131 2010/01/12 06:50:04 lukem Exp $");
 #endif
 #endif /* not lint */
 
@@ -779,10 +779,10 @@
 }
 
 const char *
-onoff(int bool)
+onoff(int val)
 {
 
-       return (bool ? "on" : "off");
+       return (val ? "on" : "off");
 }
 
 /*



Home | Main Index | Thread Index | Old Index