diff --git a/src/sshfs_mount/sftp_server.cpp b/src/sshfs_mount/sftp_server.cpp index d65f6771ec2..3c3c2b44f35 100644 --- a/src/sshfs_mount/sftp_server.cpp +++ b/src/sshfs_mount/sftp_server.cpp @@ -346,14 +346,14 @@ inline int mp::SftpServer::mapped_gid_for(const int gid) return mapped_id_for(gid_mappings, gid, default_gid); } -inline int mp::SftpServer::reverse_uid_for(const int uid, const int default_id) +inline int mp::SftpServer::reverse_uid_for(const int uid, const int rev_uid_if_not_found) { - return reverse_id_for(uid_mappings, uid, default_id); + return reverse_id_for(uid_mappings, uid, rev_uid_if_not_found); } -inline int mp::SftpServer::reverse_gid_for(const int gid, const int default_id) +inline int mp::SftpServer::reverse_gid_for(const int gid, const int rev_gid_if_not_found) { - return reverse_id_for(gid_mappings, gid, default_id); + return reverse_id_for(gid_mappings, gid, rev_gid_if_not_found); } inline int mp::SftpServer::reverse_uid_for(const int uid)