Skip to content

Commit

Permalink
[sftp server] rename parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sharder996 committed Nov 2, 2023
1 parent 78d3e45 commit e23cda4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sshfs_mount/sftp_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e23cda4

Please sign in to comment.