Skip to content
Snippets Groups Projects
Commit a220c81a authored by Stephan Bosch's avatar Stephan Bosch Committed by Timo Sirainen
Browse files

lib-sieve: storage: file: Rename SIEVE_FILE_DEFAULT_PATH to SIEVE_FILE_DEFAULT_ACTIVE_PATH

parent a62dd2b5
No related branches found
No related tags found
No related merge requests found
...@@ -566,8 +566,8 @@ sieve_file_storage_init_from_settings( ...@@ -566,8 +566,8 @@ sieve_file_storage_init_from_settings(
e_debug(storage->event, e_debug(storage->event,
"Active script path is unconfigured; " "Active script path is unconfigured; "
"using default (path=%s)", "using default (path=%s)",
SIEVE_FILE_DEFAULT_PATH); SIEVE_FILE_DEFAULT_ACTIVE_PATH);
active_path = SIEVE_FILE_DEFAULT_PATH; active_path = SIEVE_FILE_DEFAULT_ACTIVE_PATH;
} }
return sieve_file_storage_init_common(fstorage, active_path, return sieve_file_storage_init_common(fstorage, active_path,
...@@ -657,8 +657,8 @@ sieve_file_storage_do_init_default(struct sieve_file_storage *fstorage, ...@@ -657,8 +657,8 @@ sieve_file_storage_do_init_default(struct sieve_file_storage *fstorage,
e_debug(storage->event, e_debug(storage->event,
"Active script path is unconfigured; " "Active script path is unconfigured; "
"using default (path=%s)", "using default (path=%s)",
SIEVE_FILE_DEFAULT_PATH); SIEVE_FILE_DEFAULT_ACTIVE_PATH);
active_path = SIEVE_FILE_DEFAULT_PATH; active_path = SIEVE_FILE_DEFAULT_ACTIVE_PATH;
} else { } else {
*error_code_r = storage->error_code; *error_code_r = storage->error_code;
*error_r = storage->error; *error_r = storage->error;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#define SIEVE_FILE_READ_BLOCK_SIZE (1024*8) #define SIEVE_FILE_READ_BLOCK_SIZE (1024*8)
#define SIEVE_FILE_DEFAULT_PATH "~/.dovecot."SIEVE_SCRIPT_FILEEXT #define SIEVE_FILE_DEFAULT_ACTIVE_PATH "~/.dovecot."SIEVE_SCRIPT_FILEEXT
/* How often to scan tmp/ directory for old files (based on dir's atime) */ /* How often to scan tmp/ directory for old files (based on dir's atime) */
#define SIEVE_FILE_STORAGE_TMP_SCAN_SECS (8*60*60) #define SIEVE_FILE_STORAGE_TMP_SCAN_SECS (8*60*60)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.