]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Fix loop iteration for IP uribl.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 30 Nov 2015 11:47:16 +0000 (11:47 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 30 Nov 2015 11:47:16 +0000 (11:47 +0000)
src/plugins/surbl.c

index 3ee036ed96ef4cb53ebc1c111c0d70146e247a95..2b8fc3571913dfe1d876385ce0fc8c76f9e92858 100644 (file)
@@ -1033,7 +1033,6 @@ surbl_dns_ip_callback (struct rdns_reply *reply, gpointer arg)
        if (reply->code == RDNS_RC_NOERROR && reply->entries) {
 
                LL_FOREACH (reply->entries, elt) {
-                       elt = reply->entries;
 
                        if (elt->type == RDNS_REQUEST_A) {
                                to_resolve = g_string_sized_new (