summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2003-01-25 14:59:48 +0000
committeryar <yar@FreeBSD.org>2003-01-25 14:59:48 +0000
commite67bf5e192e8ea2dcb66153ab0ed9363b9e38c98 (patch)
treea9edbdca346a84727960c8d166c3f49b4e9ccf3b /libexec/ftpd
parentea028a97eca8c07525da7487f7d0ee2e909f78b8 (diff)
downloadFreeBSD-src-e67bf5e192e8ea2dcb66153ab0ed9363b9e38c98.zip
FreeBSD-src-e67bf5e192e8ea2dcb66153ab0ed9363b9e38c98.tar.gz
GLOB_MAXPATH has been deprecated in favour of GLOB_LIMIT.
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/ftpcmd.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y
index 8dcff53..cb9f97f 100644
--- a/libexec/ftpd/ftpcmd.y
+++ b/libexec/ftpd/ftpcmd.y
@@ -978,7 +978,7 @@ pathname
int n;
memset(&gl, 0, sizeof(gl));
- flags |= GLOB_MAXPATH;
+ flags |= GLOB_LIMIT;
gl.gl_matchc = MAXGLOBARGS;
if (glob($1, flags, NULL, &gl) ||
gl.gl_pathc == 0) {
OpenPOWER on IntegriCloud