diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-15 13:38:21 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-15 13:38:21 +0100 |
commit | 2927c41aba1da86cd742e80f3108665232dc772a (patch) | |
tree | e3ecab8a983bbc289ff9852df0e20e455aef6950 /src/client | |
parent | e6dbedd6904d30e4a8d65d511f449665cae1f70b (diff) | |
download | rspamd-2927c41aba1da86cd742e80f3108665232dc772a.tar.gz rspamd-2927c41aba1da86cd742e80f3108665232dc772a.zip |
[Minor] Commit leftovers
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/rspamc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/rspamc.cxx b/src/client/rspamc.cxx index 9719445b6..e1699c200 100644 --- a/src/client/rspamc.cxx +++ b/src/client/rspamc.cxx @@ -474,7 +474,7 @@ rspamc_password_callback(const gchar *option_name, std::string_view value_view{value}; if (value_view[0] == '/' || value_view[0] == '.') { /* Try to open file */ - auto locked_mmap = rspamd::util::raii_mmaped_locked_file::mmap_shared(value, O_RDONLY, PROT_READ); + auto locked_mmap = rspamd::util::raii_mmaped_file::mmap_shared(value, O_RDONLY, PROT_READ); if (!locked_mmap.has_value() || locked_mmap.value().get_size() == 0) { /* Just use it as a string */ |