aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-13 20:10:53 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-13 20:10:53 +0100
commit527119290db9e79cf4be11511c378f9704dd1fb6 (patch)
tree988c6148a3ebe6671bb80aa1ea7ee76c1003d18c /utils
parent22e271f82c0709dabc40b50f89f07127af76e808 (diff)
downloadrspamd-527119290db9e79cf4be11511c378f9704dd1fb6.tar.gz
rspamd-527119290db9e79cf4be11511c378f9704dd1fb6.zip
[Fix] Fix CGP helper reply parsing
Diffstat (limited to 'utils')
-rw-r--r--utils/cgp_rspamd.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/cgp_rspamd.pl b/utils/cgp_rspamd.pl
index 68abc9342..8ef2a7cf4 100644
--- a/utils/cgp_rspamd.pl
+++ b/utils/cgp_rspamd.pl
@@ -64,7 +64,7 @@ sub rspamd_scan {
print "$tag FAILURE\n";
}
else {
- my $def = $js->{'default'};
+ my $def = $js;
my $headers = "";
if ( !$def ) {