Index: htpasswd.c =================================================================== RCS file: /home/cvs/httpd-2.0/support/htpasswd.c,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -r1.48 -r1.49 --- htpasswd.c 18 Jun 2002 02:58:36 -0000 1.48 +++ htpasswd.c 19 Jun 2002 17:31:19 -0000 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); }