OpenDKIM icon indicating copy to clipboard operation
OpenDKIM copied to clipboard

patch to opendkim.c:5023:12

Open hdatma opened this issue 5 years ago • 2 comments

opendkim.c:5023:12: warning: comparison of array 'dfc->mctx_domain' equal to a null pointer is always false [-Wtautological-pointer-compare]
                    dfc->mctx_domain == NULL)
                    ~~~~~^~~~~~~~~~~    ~~~~

I think you mean this instead:

-                   dfc->mctx_domain == NULL)
+                   strcmp( dfc->mctx_domain, "&" ) == 0)

hdatma avatar Jul 09 '20 09:07 hdatma

Anybody?

hdatma avatar Jul 13 '20 09:07 hdatma

Acknowledged. I'm working on the new release right now, and will verify and validate this issue.

-M

martinbogo avatar Jul 13 '20 15:07 martinbogo