From e23cda4f4fe4783e08233c4e4e06c7270068ab65 Mon Sep 17 00:00:00 2001 From: sharder996 Date: Thu, 2 Nov 2023 09:06:35 -0500 Subject: [PATCH] [sftp server] rename parameters --- src/sshfs_mount/sftp_server.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)