aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/surbl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-06-30 18:41:31 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-06-30 18:41:31 +0400
commitec28e7247f6e4b809b487ccb443b796ecb532ba4 (patch)
treebd0315d27dbd8864df349f27034710572b75d5c9 /src/plugins/surbl.c
parent025f2000d515244e085cd82ac089d7f0271fc531 (diff)
downloadrspamd-ec28e7247f6e4b809b487ccb443b796ecb532ba4.tar.gz
rspamd-ec28e7247f6e4b809b487ccb443b796ecb532ba4.zip
* Fixed awfully stupid error in surbl module
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r--src/plugins/surbl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c
index 092bd383d..53e04df90 100644
--- a/src/plugins/surbl.c
+++ b/src/plugins/surbl.c
@@ -288,7 +288,7 @@ format_surbl_request (memory_pool_t *pool, f_str_t *hostname, struct suffix_item
part2 = g_match_info_fetch (info, 2);
g_match_info_free (info);
result = memory_pool_alloc (pool, len);
- snprintf (result, len, "%s.%s", part1, part2);
+ r = snprintf (result, len, "%s.%s", part1, part2);
if (g_hash_table_lookup (surbl_module_ctx->tld2, result) != NULL) {
/* Match additional part for hosters */
g_free (part1);