From b1b812621109ea89160893f91f9ac3c1446a3d76 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 18 Dec 2013 11:27:06 +0000 Subject: [PATCH] Fix spf lists insertion. --- src/spf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5