diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-06-16 15:32:44 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-06-16 16:18:31 +0100 |
commit | 7a62e828f7867d1035843fa499af810dfc915816 (patch) | |
tree | dce6db953775a2c86809d54ad10a4f70923e3237 /utils | |
parent | fcfe6de1da024ebf63801e3b5950e0b98336f68e (diff) | |
download | rspamd-7a62e828f7867d1035843fa499af810dfc915816.tar.gz rspamd-7a62e828f7867d1035843fa499af810dfc915816.zip |
Update->add
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/redirector.pl.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/redirector.pl.in b/utils/redirector.pl.in index fb8daf251..7c79cdfa7 100755 --- a/utils/redirector.pl.in +++ b/utils/redirector.pl.in @@ -186,7 +186,7 @@ sub memcached_check_url { my ( $url ) = @_; my $context = Digest->new("SHA-256"); - $context->update($url); + $context->add($url); return $memd->get($context->digest()); } @@ -196,7 +196,7 @@ sub memcached_cache_url { if ($url ne $url_real) { my $context = Digest->new("SHA-256"); - $context->update($url); + $context->add($url); $memd->set($context->digest(), $url_real, $cfg{cache_expire}); } |