diff --git a/src/config.h b/src/config.h index 9072653d..650e1f1d 100644 --- a/src/config.h +++ b/src/config.h @@ -13,7 +13,7 @@ #define VERSION "0.1.23-master-branch" -#define BUILD 748 +#define BUILD 749 #define HOSTID "mailarchiver" diff --git a/test/import_helper.c b/test/import_helper.c index 3712eaf3..107341da 100644 --- a/test/import_helper.c +++ b/test/import_helper.c @@ -24,7 +24,7 @@ int import_message2(char *filename, struct session_data *sdata, struct __data *d struct _state state; - init_session_data(sdata); + init_session_data(sdata, cfg->server_id); if(strcmp(filename, "-") == 0){ @@ -65,7 +65,7 @@ int import_message2(char *filename, struct session_data *sdata, struct __data *d sdata->sent = 0; - state = parse_message(sdata, 1, cfg); + state = parse_message(sdata, 1, data, cfg); post_parse(sdata, &state, cfg); if(sdata->sent > sdata->now) sdata->sent = sdata->now;