From cea3af3cd8c4c528f12c09159f0bfd8931aea8aa Mon Sep 17 00:00:00 2001 From: SJ Date: Sun, 6 Jan 2013 22:29:02 +0100 Subject: [PATCH] fixed a typo in the test/ directory --- src/config.h | 2 +- test/import_helper.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;