fixed a typo in the test/ directory

This commit is contained in:
SJ 2013-01-06 22:29:02 +01:00
parent be259f56bd
commit cea3af3cd8
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
#define VERSION "0.1.23-master-branch" #define VERSION "0.1.23-master-branch"
#define BUILD 748 #define BUILD 749
#define HOSTID "mailarchiver" #define HOSTID "mailarchiver"

View File

@ -24,7 +24,7 @@ int import_message2(char *filename, struct session_data *sdata, struct __data *d
struct _state state; struct _state state;
init_session_data(sdata); init_session_data(sdata, cfg->server_id);
if(strcmp(filename, "-") == 0){ if(strcmp(filename, "-") == 0){
@ -65,7 +65,7 @@ int import_message2(char *filename, struct session_data *sdata, struct __data *d
sdata->sent = 0; sdata->sent = 0;
state = parse_message(sdata, 1, cfg); state = parse_message(sdata, 1, data, cfg);
post_parse(sdata, &state, cfg); post_parse(sdata, &state, cfg);
if(sdata->sent > sdata->now) sdata->sent = sdata->now; if(sdata->sent > sdata->now) sdata->sent = sdata->now;