trusteddomainproject / OpenDKIM

Other
97 stars 52 forks source link

patch to opendkim.c:5023:12 #88

Open hdatma opened 4 years ago

hdatma commented 4 years ago
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 commented 4 years ago

Anybody?

martinbogo commented 4 years ago

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

-M