version 1.116, 2019/06/28 13:35:04 |
version 1.117, 2019/07/05 04:55:40 |
|
|
#include "sftp.h" |
#include "sftp.h" |
#include "sftp-common.h" |
#include "sftp-common.h" |
|
|
|
char *sftp_realpath(const char *, char *); /* sftp-realpath.c */ |
|
|
/* Our verbosity */ |
/* Our verbosity */ |
static LogLevel log_level = SYSLOG_LEVEL_ERROR; |
static LogLevel log_level = SYSLOG_LEVEL_ERROR; |
|
|
|
|
} |
} |
debug3("request %u: realpath", id); |
debug3("request %u: realpath", id); |
verbose("realpath \"%s\"", path); |
verbose("realpath \"%s\"", path); |
if (realpath(path, resolvedname) == NULL) { |
if (sftp_realpath(path, resolvedname) == NULL) { |
send_status(id, errno_to_portable(errno)); |
send_status(id, errno_to_portable(errno)); |
} else { |
} else { |
Stat s; |
Stat s; |