(sieve_argp_parser): Always add SIEVE_MODDIR to sieve_library_path.
Showing
1 changed file
with
7 additions
and
0 deletions
... | @@ -64,6 +64,13 @@ sieve_argp_parser (int key, char *arg, struct argp_state *state) | ... | @@ -64,6 +64,13 @@ sieve_argp_parser (int key, char *arg, struct argp_state *state) |
64 | plist = &sieve_library_path; | 64 | plist = &sieve_library_path; |
65 | break; | 65 | break; |
66 | 66 | ||
67 | case ARGP_KEY_INIT: | ||
68 | #ifdef SIEVE_MODDIR | ||
69 | plist = &sieve_library_path; | ||
70 | arg = SIEVE_MODDIR; | ||
71 | #endif | ||
72 | break; | ||
73 | |||
67 | case ARGP_KEY_FINI: | 74 | case ARGP_KEY_FINI: |
68 | sieve_load_add_path (sieve_library_path); | 75 | sieve_load_add_path (sieve_library_path); |
69 | break; | 76 | break; | ... | ... |
-
Please register or sign in to post a comment