diff options
author | John Langford <jl@hunch.net> | 2009-08-31 21:41:15 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2009-08-31 21:41:15 +0400 |
commit | 3410dc679d0a06459371017a57eb4f581064b252 (patch) | |
tree | abd51238ebda9a2a6814b0ca658ba1e2c73d500f /io.cc | |
parent | 289fe8a798ef17ac29c4336f085bb548482c8eb1 (diff) |
Fixed bad input assignment bug.
Diffstat (limited to 'io.cc')
-rw-r--r-- | io.cc | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; |