Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Hofman <jhofman+github@gmail.com>2011-08-04 01:04:49 +0400
committerJohn <jl@hunch.net>2011-08-04 04:08:33 +0400
commitf9db5d3811f905b39c1591d78c7f016503a61022 (patch)
treef91708a5f679bb69e29f38076879252c05d71f2c /cache.cc
parentfc38a0610a06838555059fc68198eb794ebc55c6 (diff)
save command added: save_filename|
Diffstat (limited to 'cache.cc')
-rw-r--r--cache.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/cache.cc b/cache.cc
index e5812595..c902c106 100644
--- a/cache.cc
+++ b/cache.cc
@@ -30,8 +30,7 @@ size_t read_cached_tag(io_buf& cache, example* ae)
if (buf_read(cache, c, sizeof(tag_size)) < sizeof(tag_size))
return 0;
tag_size = *(size_t*)c;
- c += sizeof(tag_size);
-
+ c += sizeof(tag_size);
cache.set(c);
if (buf_read(cache, c, tag_size) < tag_size)
return 0;