aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/symcache/symcache_c.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/symcache/symcache_c.cxx')
-rw-r--r--src/libserver/symcache/symcache_c.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libserver/symcache/symcache_c.cxx b/src/libserver/symcache/symcache_c.cxx
index 71e0057ee..6ab1206c0 100644
--- a/src/libserver/symcache/symcache_c.cxx
+++ b/src/libserver/symcache/symcache_c.cxx
@@ -86,7 +86,9 @@ rspamd_symcache_add_symbol(struct rspamd_symcache *cache,
bool
rspamd_symcache_add_symbol_augmentation(struct rspamd_symcache *cache,
- int sym_id, const char *augmentation)
+ int sym_id,
+ const char *augmentation,
+ const char *value)
{
auto *real_cache = C_API_SYMCACHE(cache);
auto log_tag = [&]() { return real_cache->log_tag(); };
@@ -104,7 +106,7 @@ rspamd_symcache_add_symbol_augmentation(struct rspamd_symcache *cache,
return false;
}
- return item->add_augmentation(*real_cache, augmentation);
+ return item->add_augmentation(*real_cache, augmentation, value);
}
void