diff options
Diffstat (limited to 'src/libutil/upstream.h')
-rw-r--r-- | src/libutil/upstream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/upstream.h b/src/libutil/upstream.h index 8c399ab03..3fb5d24a5 100644 --- a/src/libutil/upstream.h +++ b/src/libutil/upstream.h @@ -118,12 +118,12 @@ gboolean rspamd_upstreams_from_ucl (struct upstream_list *ups, rspamd_inet_addr_t* rspamd_upstream_addr (struct upstream *up); /** - * Add custom address for an upstream + * Add custom address for an upstream (ownership of addr is transferred to upstream) * @param up * @return */ gboolean rspamd_upstream_add_addr (struct upstream *up, - const rspamd_inet_addr_t *addr); + rspamd_inet_addr_t *addr); /** * Returns the symbolic name of the upstream |