Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib-storage: add mail_user_plugin_getenv_bool
New API will check boolean-like env setting OR its exsitence. Function returns FALSE when: * Read out a null string, "Or" * String starts with any letter in set {'N', 'n', 'F','f','0'} To keep downward compatibility, For other cases including an empty string, function returns TRUE.
- Loading branch information
Baofeng Wang
authored and
GitLab
committed
May 3, 2016
1 parent
88bcf81
commit 527c2b0
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters