summaryrefslogtreecommitdiffstats
path: root/support/htpasswd.c
diff options
context:
space:
mode:
authorCliff Woolley <jwoolley@apache.org>2002-06-17 16:51:17 +0200
committerCliff Woolley <jwoolley@apache.org>2002-06-17 16:51:17 +0200
commit770c87441e8646b3afa41415d2f765ba9b2283d3 (patch)
treec81e1c6f663277c51ae205aa7416f14dabcf08b2 /support/htpasswd.c
parentClarify CHANGES message (diff)
downloadapache2-770c87441e8646b3afa41415d2f765ba9b2283d3.tar.xz
apache2-770c87441e8646b3afa41415d2f765ba9b2283d3.zip
Get this to work on win32 :(
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95723 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/htpasswd.c')
-rw-r--r--support/htpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/htpasswd.c b/support/htpasswd.c
index cf6674d898..3e622e5401 100644
--- a/support/htpasswd.c
+++ b/support/htpasswd.c
@@ -392,7 +392,7 @@ static void check_args(apr_pool_t *pool, int argc, const char *const argv[],
i--;
}
else {
- if (strlen(argv[i]) > (PATH_MAX - 1)) {
+ if (strlen(argv[i]) > (APR_PATH_MAX - 1)) {
apr_file_printf(errfile, "%s: filename too long\n", argv[0]);
exit(ERR_OVERFLOW);
}