piler daemon reload fix

This commit is contained in:
SJ 2014-09-18 10:44:45 +02:00
parent 70d4db53b7
commit f048e5c4e7
2 changed files with 3 additions and 4 deletions

View File

@ -12,9 +12,9 @@
#define PROGNAME "piler"
#define PILERGETD_PROGNAME "pilergetd"
#define VERSION "1.2.0-pre"
#define VERSION "1.1.1-pre"
#define BUILD 888
#define BUILD 889
#define HOSTID "mailarchiver"

View File

@ -315,8 +315,6 @@ void initialise_configuration(){
initrules(data.archiving_rules);
initrules(data.retention_rules);
memset(data.starttls, 0, sizeof(data.starttls));
#ifdef HAVE_STARTTLS
if(cfg.tls_enable > 0 && data.ctx == NULL && init_ssl() == OK){
snprintf(data.starttls, sizeof(data.starttls)-1, "250-STARTTLS\r\n");
@ -383,6 +381,7 @@ int main(int argc, char **argv){
initrules(data.retention_rules);
data.ctx = NULL;
data.ssl = NULL;
memset(data.starttls, 0, sizeof(data.starttls));
initialise_configuration();