summaryrefslogtreecommitdiff
path: root/www/apache21/files/patch-support:htpasswd.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache21/files/patch-support:htpasswd.c')
-rw-r--r--www/apache21/files/patch-support:htpasswd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/apache21/files/patch-support:htpasswd.c b/www/apache21/files/patch-support:htpasswd.c
new file mode 100644
index 000000000000..3267c08e9c31
--- /dev/null
+++ b/www/apache21/files/patch-support:htpasswd.c
@@ -0,0 +1,11 @@
+--- support/htpasswd.c 2002/06/18 02:58:36 1.48
++++ support/htpasswd.c 2002/06/19 17:31:19 1.49
+@@ -375,7 +375,7 @@
+ }
+ }
+
+- if (*mask & (APHTP_NEWFILE | APHTP_NOFILE)) {
++ if ((*mask & APHTP_NEWFILE) && (*mask & APHTP_NOFILE)) {
+ apr_file_printf(errfile, "%s: -c and -n options conflict\n", argv[0]);
+ exit(ERR_SYNTAX);
+ }