[opendmarc-dev] OpenDMARC 1.2.1 Beta1 available
Murray S. Kucherawy
msk at blackops.org
Sun Mar 30 00:15:45 PDT 2014
On Sat, 29 Mar 2014, Andreas Schulze wrote:
> If a TrustedAuthservID was given the patch logging looks like
> (none)foo
Oops, right.
> My modification log (none) OR a TrustedAuthservID:
The attached patch is simpler, I think.
-MSK
-------------- next part --------------
diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c
index 0a72e64..b42bd98 100644
--- a/opendmarc/opendmarc.c
+++ b/opendmarc/opendmarc.c
@@ -4322,11 +4322,19 @@ main(int argc, char **argv)
curconf->conf_trustedauthservids[c] != NULL;
c++)
{
- if (c != 0)
+ if (c == 0)
+ {
+ strlcpy(argstr,
+ curconf->conf_trustedauthservids[c],
+ n);
+ }
+ else
+ {
strlcat(argstr, ", ", n);
- strlcat(argstr,
- curconf->conf_trustedauthservids[c],
- n);
+ strlcat(argstr,
+ curconf->conf_trustedauthservids[c],
+ n);
+ }
}
syslog(LOG_INFO, "trusted authentication services: %s",
More information about the opendmarc-dev
mailing list