diff options
| author | Markus Uhlin <markus@nifty-networks.net> | 2025-11-01 16:19:41 +0100 |
|---|---|---|
| committer | Markus Uhlin <markus@nifty-networks.net> | 2025-11-01 16:19:41 +0100 |
| commit | 4e04743839b68858e47aacb5f037fec4b67eb036 (patch) | |
| tree | fb3d5c7b361f3a0ac4381cf54041f6222b74883c /FICS | |
| parent | 33b5b86d07ac3baafc90a82efe89cf8488d2bbd0 (diff) | |
get_uid_and_gid: aligned the vars
Diffstat (limited to 'FICS')
| -rw-r--r-- | FICS/prep_dir_for_privdrop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FICS/prep_dir_for_privdrop.cpp b/FICS/prep_dir_for_privdrop.cpp index 5270f53..4b1d66b 100644 --- a/FICS/prep_dir_for_privdrop.cpp +++ b/FICS/prep_dir_for_privdrop.cpp @@ -23,8 +23,8 @@ namespace fs = std::filesystem; static int get_uid_and_gid(uid_t &uid, gid_t &gid) { - struct passwd *pw = nullptr; - int i = 0; + struct passwd *pw = nullptr; + int i = 0; if ((pw = getpwnam(settings_get("privdrop_user"))) == nullptr || !get_group_id(settings_get("sysgroup"), &i)) { |
