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

Fixed a few small indent problems.

parent 47ce4d8c
No related branches found
No related tags found
No related merge requests found
......@@ -117,34 +117,34 @@ static const struct sieve_ast_extension include_ast_extension = {
struct ext_include_ast_context *ext_include_create_ast_context
(struct sieve_ast *ast, struct sieve_ast *parent)
{
struct ext_include_ast_context *actx;
struct ext_include_ast_context *actx;
pool_t pool = sieve_ast_pool(ast);
actx = p_new(pool, struct ext_include_ast_context, 1);
pool_t pool = sieve_ast_pool(ast);
actx = p_new(pool, struct ext_include_ast_context, 1);
p_array_init(&actx->included_scripts, pool, 32);
if ( parent != NULL ) {
struct ext_include_ast_context *parent_ctx =
(struct ext_include_ast_context *)
sieve_ast_extension_get_context(parent, &include_extension);
actx->global_vars = parent_ctx->global_vars;
if ( parent != NULL ) {
struct ext_include_ast_context *parent_ctx =
(struct ext_include_ast_context *)
sieve_ast_extension_get_context(parent, &include_extension);
actx->global_vars = parent_ctx->global_vars;
i_assert( actx->global_vars != NULL );
sieve_variable_scope_ref(actx->global_vars);
sieve_variable_scope_ref(actx->global_vars);
} else
actx->global_vars = sieve_variable_scope_create(&include_extension);
sieve_ast_extension_register(ast, &include_ast_extension, (void *) actx);
return actx;
return actx;
}
struct ext_include_ast_context *ext_include_get_ast_context
(struct sieve_ast *ast)
{
struct ext_include_ast_context *actx = (struct ext_include_ast_context *)
sieve_ast_extension_get_context(ast, &include_extension);
sieve_ast_extension_get_context(ast, &include_extension);
if ( actx != NULL ) return actx;
......@@ -241,9 +241,9 @@ static void ext_include_runtime_init
}
static struct sieve_interpreter_extension include_interpreter_extension = {
&include_extension,
ext_include_runtime_init,
NULL,
&include_extension,
ext_include_runtime_init,
NULL,
};
/*
......
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.