summaryrefslogtreecommitdiffstats
path: root/src/protocol.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-06-17 20:25:48 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-06-17 20:25:48 +0400
commit26eed5a540674c0fce99883a64c7675d7c5cbb92 (patch)
tree76945e5ad58c561200ef09c739807af2b0e2e986 /src/protocol.c
parentde84c16025fd54d2f1c67cfe6a462e9c929c6244 (diff)
downloadrspamd-26eed5a540674c0fce99883a64c7675d7c5cbb92.tar.gz
rspamd-26eed5a540674c0fce99883a64c7675d7c5cbb92.zip
* Implement initial version of greylisting triplets storage
* Fix issues with smtp worker
Diffstat (limited to 'src/protocol.c')
-rw-r--r--src/protocol.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/protocol.c b/src/protocol.c
index e7dc86e9a..a4c679f96 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -120,14 +120,13 @@ parse_command (struct worker_task *task, f_str_t * line)
struct custom_command *cmd;
GList *cur;
+ task->proto_ver = RSPAMC_PROTO_1_1;
token = separate_command (line, ' ');
if (line == NULL || token == NULL) {
debug_task ("bad command: %s", token);
return -1;
}
- task->proto_ver = RSPAMC_PROTO_1_1;
-
switch (token[0]) {
case 'c':
case 'C':