Skip to content
Snippets Groups Projects
Commit aeca3e5b authored by Stephan Bosch's avatar Stephan Bosch
Browse files

(Hopefully) fixed home expansion in LDA Sieve plugin.

parent ea1e83d8
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,7 @@ static const char *lda_sieve_get_personal_path(struct mail_user *user)
return NULL;
}
script_path = home_expand(script_path);
script_path = mail_user_home_expand(user, script_path);
if (*script_path != '/' && *script_path != '\0') {
/* relative path. change to absolute. */
......@@ -157,7 +157,7 @@ static const char *lda_sieve_get_personal_path(struct mail_user *user)
return NULL;
}
script_path = home_expand(SIEVE_DEFAULT_PATH);
script_path = mail_user_home_expand(user, SIEVE_DEFAULT_PATH);
}
return script_path;
......
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.