Source-Changes-HG archive

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

[src/trunk]: src/libexec/httpd s/time/val/ to avoid shadowing a global indent...



details:   https://anonhg.NetBSD.org/src/rev/6ef68e8475bd
branches:  trunk
changeset: 446107:6ef68e8475bd
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Nov 24 00:47:51 2018 +0000

description:
s/time/val/ to avoid shadowing a global indentifier.

diffstat:

 libexec/httpd/bozohttpd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d7c22fef7e51 -r 6ef68e8475bd libexec/httpd/bozohttpd.c
--- a/libexec/httpd/bozohttpd.c Fri Nov 23 23:41:20 2018 +0000
+++ b/libexec/httpd/bozohttpd.c Sat Nov 24 00:47:51 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bozohttpd.c,v 1.94 2018/11/23 08:11:20 mrg Exp $       */
+/*     $NetBSD: bozohttpd.c,v 1.95 2018/11/24 00:47:51 mrg Exp $       */
 
 /*     $eterna: bozohttpd.c,v 1.178 2011/11/18 09:21:15 mrg Exp $      */
 
@@ -395,7 +395,7 @@
  */
 int
 bozo_set_timeout(bozohttpd_t *httpd, bozoprefs_t *prefs,
-                const char *target, const char *time)
+                const char *target, const char *val)
 {
        const char *cur, *timeouts[] = {
                "initial timeout",
@@ -409,7 +409,7 @@
 
        for (cur = timeouts[0]; len >= minlen && *cur; cur++) {
                if (strncmp(target, cur, len) == 0) {
-                       bozo_set_pref(httpd, prefs, cur, time);
+                       bozo_set_pref(httpd, prefs, cur, val);
                        return 0;
                }
        }



Home | Main Index | Thread Index | Old Index