diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-06-17 20:25:48 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-06-17 20:25:48 +0400 |
commit | 26eed5a540674c0fce99883a64c7675d7c5cbb92 (patch) | |
tree | 76945e5ad58c561200ef09c739807af2b0e2e986 /src/protocol.c | |
parent | de84c16025fd54d2f1c67cfe6a462e9c929c6244 (diff) | |
download | rspamd-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.c | 3 |
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': |