summaryrefslogtreecommitdiff
path: root/sftp-int.c
diff options
context:
space:
mode:
Diffstat (limited to 'sftp-int.c')
-rw-r--r--sftp-int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sftp-int.c b/sftp-int.c
index fd649822..d0914dde 100644
--- a/sftp-int.c
+++ b/sftp-int.c
@@ -443,7 +443,7 @@ parse_dispatch_command(int in, int out, const char *cmd, char **pwd)
int pflag, cmdnum;
unsigned long n_arg;
Attrib a, *aa;
- char path_buf[PATH_MAX];
+ char path_buf[MAXPATHLEN];
path1 = path2 = NULL;
cmdnum = parse_args(&cmd, &pflag, &n_arg, &path1, &path2);