]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Remove debugging as it is called in a destructor where logger is absent
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 9 Dec 2019 11:40:55 +0000 (11:40 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 9 Dec 2019 11:40:55 +0000 (11:40 +0000)
src/libserver/spf.c

index a282035bebd6720e52ba60635830bdfabcfbb1e7..1766ef64e8b2f45e9af5f6186ac616e1dabb2b2a 100644 (file)
@@ -2486,7 +2486,6 @@ rspamd_spf_resolve (struct rspamd_task *task, spf_cb_t callback,
 struct spf_resolved *
 _spf_record_ref (struct spf_resolved *flat, const gchar *loc)
 {
-       msg_debug_spf_flatten ("record ref %s; refcount=%d++", loc, flat->ref.refcount);
        REF_RETAIN (flat);
        return flat;
 }
@@ -2494,7 +2493,6 @@ _spf_record_ref (struct spf_resolved *flat, const gchar *loc)
 void
 _spf_record_unref (struct spf_resolved *flat, const gchar *loc)
 {
-       msg_debug_spf_flatten ("record unref %s; refcount=%d--", loc, flat->ref.refcount);
        REF_RELEASE (flat);
 }