Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/httpd s/u_int/unsigned/.
details: https://anonhg.NetBSD.org/src/rev/d35fd77196e2
branches: trunk
changeset: 356612:d35fd77196e2
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Oct 05 04:22:41 2017 +0000
description:
s/u_int/unsigned/.
from Jan Danielsson. increases/fixes portability.
diffstat:
libexec/httpd/cgi-bozo.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r e83a430148b5 -r d35fd77196e2 libexec/httpd/cgi-bozo.c
--- a/libexec/httpd/cgi-bozo.c Thu Oct 05 03:42:14 2017 +0000
+++ b/libexec/httpd/cgi-bozo.c Thu Oct 05 04:22:41 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cgi-bozo.c,v 1.37 2017/01/31 14:36:09 mrg Exp $ */
+/* $NetBSD: cgi-bozo.c,v 1.38 2017/10/05 04:22:41 mrg Exp $ */
/* $eterna: cgi-bozo.c,v 1.40 2011/11/18 09:21:15 mrg Exp $ */
@@ -517,8 +517,8 @@
strcpy(t, "HTTP_");
t += strlen(t);
for (s2 = headp->h_header; *s2; t++, s2++)
- if (islower((u_int)*s2))
- *t = toupper((u_int)*s2);
+ if (islower((unsigned)*s2))
+ *t = toupper((unsigned)*s2);
else if (*s2 == '-')
*t = '_';
else
Home |
Main Index |
Thread Index |
Old Index