diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-12-20 17:11:39 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-12-20 17:11:39 +0300 |
commit | ea1da6a43cf4f6bfcc23722a05baaae203a00db4 (patch) | |
tree | 1bbc911a153e4968d9e14f98f74f1de195c2bc49 /src/protocol.c | |
parent | 9e611e033cfc40aab58805d8e485f892352750c6 (diff) | |
download | rspamd-ea1da6a43cf4f6bfcc23722a05baaae203a00db4.tar.gz rspamd-ea1da6a43cf4f6bfcc23722a05baaae203a00db4.zip |
Make compiler happy in several cases, remove warnings.
Diffstat (limited to 'src/protocol.c')
-rw-r--r-- | src/protocol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocol.c b/src/protocol.c index 70ba1bd83..51290cdf1 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -292,10 +292,11 @@ static gboolean parse_http_command (struct worker_task *task, f_str_t * line) { guint8 *p, *end, *c; - gint state = 0, next_state; + gint state = 0, next_state = 0; gchar *cmd; p = line->begin; + c = p; end = p + line->len; task->proto = RSPAMC_PROTO; |