diff options
Diffstat (limited to 'src/client/rspamdclient.c')
-rw-r--r-- | src/client/rspamdclient.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/rspamdclient.c b/src/client/rspamdclient.c index 6ccdce5f5..7ea096183 100644 --- a/src/client/rspamdclient.c +++ b/src/client/rspamdclient.c @@ -352,7 +352,8 @@ rspamd_client_command (struct rspamd_client_connection *conn, } else { if (comp_dictionary) { - dict = rspamd_file_xmap (comp_dictionary, PROT_READ, &dict_len); + dict = rspamd_file_xmap (comp_dictionary, PROT_READ, &dict_len, + TRUE); if (dict == NULL) { g_set_error (err, RCLIENT_ERROR, errno, |