diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-30 18:41:31 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-30 18:41:31 +0400 |
commit | ec28e7247f6e4b809b487ccb443b796ecb532ba4 (patch) | |
tree | bd0315d27dbd8864df349f27034710572b75d5c9 /src/plugins/surbl.c | |
parent | 025f2000d515244e085cd82ac089d7f0271fc531 (diff) | |
download | rspamd-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.c | 2 |
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); |