summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorsemarie <semarie@cvs.openbsd.org>2015-06-23 15:35:21 +0000
committersemarie <semarie@cvs.openbsd.org>2015-06-23 15:35:21 +0000
commitb50192218361534e0c91f7103437b257ad6450a4 (patch)
tree32587c3d4c733c20f98bd59cb8cda86745212887 /usr.sbin
parentf28d02b18f584c15ca8332f23e31c1bb754d42ed (diff)
remove a deprecated character class.
it was deprecated in lua code, but here the code is new. The documentation don't mention it either. ok reyk@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/httpd/patterns.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/httpd/patterns.c b/usr.sbin/httpd/patterns.c
index e4e3ab43cd8..3b2cbcce3cc 100644
--- a/usr.sbin/httpd/patterns.c
+++ b/usr.sbin/httpd/patterns.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: patterns.c,v 1.1 2015/06/23 15:23:14 reyk Exp $ */
+/* $OpenBSD: patterns.c,v 1.2 2015/06/23 15:35:20 semarie Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -26,7 +26,7 @@
/*
* Derived from Lua 5.3.1:
- * $Id: patterns.c,v 1.1 2015/06/23 15:23:14 reyk Exp $
+ * $Id: patterns.c,v 1.2 2015/06/23 15:35:20 semarie Exp $
* Standard library for string operations and pattern-matching
*/
@@ -156,9 +156,6 @@ match_class(int c, int cl)
case 'x':
res = isxdigit(c);
break;
- case 'z':
- res = (c == 0);
- break; /* deprecated option */
default:
return (cl == c);
}