aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-18 11:27:06 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-18 11:27:06 +0000
commitb1b812621109ea89160893f91f9ac3c1446a3d76 (patch)
treecba85d2a3cc09329220ce7e9327b2cfe88dcd424 /src
parentbab9cbb4683069f7b00daf11581b578f1d17ae0b (diff)
downloadrspamd-b1b812621109ea89160893f91f9ac3c1446a3d76.tar.gz
rspamd-b1b812621109ea89160893f91f9ac3c1446a3d76.zip
Fix spf lists insertion.
Diffstat (limited to 'src')
-rw-r--r--src/spf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spf.c b/src/spf.c
index 755156d4e..e394005b8 100644
--- a/src/spf.c
+++ b/src/spf.c
@@ -181,7 +181,7 @@ spf_addr_find (GList *addrs, gpointer to_find)
addr = cur->data;
if (addr->is_list) {
if ((res = spf_addr_find (addr->data.list, to_find)) != NULL) {
- return res;
+ return cur;
}
}
else {