diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-01-30 15:19:04 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-01-30 15:19:04 +0000 |
commit | 39c853952b97d56726839e6e5681cd7e1849c364 (patch) | |
tree | 500ec6cf01f380fb22308159c290e0901310d892 /src/libserver/roll_history.c | |
parent | ef18538d25cc8e39fd0eb71424cecef516412d90 (diff) | |
download | rspamd-39c853952b97d56726839e6e5681cd7e1849c364.tar.gz rspamd-39c853952b97d56726839e6e5681cd7e1849c364.zip |
Rework message store to allow encryption.
Diffstat (limited to 'src/libserver/roll_history.c')
-rw-r--r-- | src/libserver/roll_history.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/roll_history.c b/src/libserver/roll_history.c index 4e6ee01a8..5edf5bea0 100644 --- a/src/libserver/roll_history.c +++ b/src/libserver/roll_history.c @@ -146,7 +146,7 @@ rspamd_roll_history_update (struct roll_history *history, } row->scan_time = task->scan_milliseconds; - row->len = (task->msg == NULL ? 0 : task->msg->len); + row->len = task->msg.len; row->completed = TRUE; } |