2.8.0 and syslog still default off?

From: Andreas Schulze <sca_at_andreasschulze.de>
Date: Fri, 1 Mar 2013 22:43:18 +0100

Hi,

this was a diff between beta6 and beta7 to enable syslog by default:
--- opendkim-2.8.0.beta6//opendkim/opendkim.c 2013-02-20 22:29:28.000000000 +0100
+++ opendkim-2.8.0.beta7/opendkim/opendkim.c 2013-02-22 08:27:28.000000000 +0100
_at_@ -6066,6 +6066,7 @@
        new->conf_atpshash = dkimf_atpshash[0].str;
 #endif /* _FFR_ATPS */
        new->conf_selectcanonhdr = SELECTCANONHDR;
+ new->conf_dolog = TRUE;
 
        memcpy(&new->conf_handling, &defaults, sizeof new->conf_handling);
 
_at_@ -6661,11 +6662,8 @@
                                          sizeof conf->conf_subdomains);
                }
 
- if (!conf->conf_dolog)
- {
- (void) config_get(data, "Syslog", &conf->conf_dolog,
- sizeof conf->conf_dolog);
- }
+ (void) config_get(data, "Syslog", &conf->conf_dolog,
+ sizeof conf->conf_dolog);
....

and this is a diff between beta7 and release:

--- opendkim-2.8.0.beta7//opendkim/opendkim.c 2013-02-22 08:27:28.000000000 +0100
+++ opendkim-2.8.0/opendkim/opendkim.c 2013-03-01 22:00:32.000000000 +0100
_at_@ -6066,7 +6066,6 @@
        new->conf_atpshash = dkimf_atpshash[0].str;
 #endif /* _FFR_ATPS */
        new->conf_selectcanonhdr = SELECTCANONHDR;
- new->conf_dolog = TRUE;
 
        memcpy(&new->conf_handling, &defaults, sizeof new->conf_handling);
 
_at_@ -6662,8 +6661,11 @@
                                          sizeof conf->conf_subdomains);
                }
 
- (void) config_get(data, "Syslog", &conf->conf_dolog,
- sizeof conf->conf_dolog);
+ if (!conf->conf_dolog)
+ {
+ (void) config_get(data, "Syslog", &conf->conf_dolog,
+ sizeof conf->conf_dolog);
+ }

Did I fetched a wrong version?

Andreas
Received on Fri Mar 01 2013 - 21:43:34 PST

This archive was generated by hypermail 2.3.0 : Fri Mar 01 2013 - 21:45:00 PST