Skip to content

Commit

Permalink
lib-smtp: params: Explicitly allow smtp_params_*_add_extra() value pa…
Browse files Browse the repository at this point in the history
…rameter to be NULL.
  • Loading branch information
stephanbosch committed Oct 29, 2018
1 parent 9896a12 commit 0e2f17d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib-smtp/smtp-params.h
Expand Up @@ -103,7 +103,8 @@ void smtp_params_mail_copy(pool_t pool,
ATTR_NULL(3);

void smtp_params_mail_add_extra(struct smtp_params_mail *params, pool_t pool,
const char *keyword, const char *value);
const char *keyword, const char *value)
ATTR_NULL(4);
bool smtp_params_mail_drop_extra(struct smtp_params_mail *params,
const char *keyword, const char **value_r)
ATTR_NULL(3);
Expand Down Expand Up @@ -140,7 +141,8 @@ void smtp_params_rcpt_copy(pool_t pool,
ATTR_NULL(3);

void smtp_params_rcpt_add_extra(struct smtp_params_rcpt *params, pool_t pool,
const char *keyword, const char *value);
const char *keyword, const char *value)
ATTR_NULL(4);
bool smtp_params_rcpt_drop_extra(struct smtp_params_rcpt *params,
const char *keyword, const char **value_r)
ATTR_NULL(3);
Expand Down

0 comments on commit 0e2f17d

Please sign in to comment.