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
path: root/io.cc
diff options
context:
space:
mode:
authorJohn Langford <jl@hunch.net>2009-08-31 21:41:15 +0400
committerJohn Langford <jl@hunch.net>2009-08-31 21:41:15 +0400
commit3410dc679d0a06459371017a57eb4f581064b252 (patch)
treeabd51238ebda9a2a6814b0ca658ba1e2c73d500f /io.cc
parent289fe8a798ef17ac29c4336f085bb548482c8eb1 (diff)
Fixed bad input assignment bug.
Diffstat (limited to 'io.cc')
-rw-r--r--io.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/io.cc b/io.cc
index 33ec6402..f9e933b1 100644
--- a/io.cc
+++ b/io.cc
@@ -24,9 +24,7 @@ unsigned int buf_read(io_buf &i, char* &pointer, int n)
i.endloaded = i.space.begin+left;
}
if (i.fill() > 0)
- {
- return buf_read(i,pointer,n);
- }
+ return buf_read(i,pointer,n);
else //no more bytes to read
{
pointer = i.space.end;