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

lib-sieve: sieve-message - Return non-const pointer from sieve_message_context_extension_get()

parent 7c53cc1f
No related branches found
No related tags found
No related merge requests found
...@@ -273,9 +273,8 @@ void sieve_message_context_extension_set(struct sieve_message_context *msgctx, ...@@ -273,9 +273,8 @@ void sieve_message_context_extension_set(struct sieve_message_context *msgctx,
array_idx_set(&msgctx->ext_contexts, (unsigned int)ext->id, &context); array_idx_set(&msgctx->ext_contexts, (unsigned int)ext->id, &context);
} }
const void * void *sieve_message_context_extension_get(struct sieve_message_context *msgctx,
sieve_message_context_extension_get(struct sieve_message_context *msgctx, const struct sieve_extension *ext)
const struct sieve_extension *ext)
{ {
void *const *ctx; void *const *ctx;
......
...@@ -36,9 +36,8 @@ void sieve_message_context_time(struct sieve_message_context *msgctx, ...@@ -36,9 +36,8 @@ void sieve_message_context_time(struct sieve_message_context *msgctx,
void sieve_message_context_extension_set(struct sieve_message_context *msgctx, void sieve_message_context_extension_set(struct sieve_message_context *msgctx,
const struct sieve_extension *ext, const struct sieve_extension *ext,
void *context); void *context);
const void *sieve_message_context_extension_get( void *sieve_message_context_extension_get(struct sieve_message_context *msgctx,
struct sieve_message_context *msgctx, const struct sieve_extension *ext);
const struct sieve_extension *ext);
/* Envelope */ /* Envelope */
......
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.