aboutsummaryrefslogtreecommitdiff
path: root/nerv/examples/network_debug/reader.lua
diff options
context:
space:
mode:
authorQi Liu <liuq901@163.com>2016-03-15 12:48:07 +0800
committerQi Liu <liuq901@163.com>2016-03-15 12:48:07 +0800
commit3dd235c8b6ea7ef275381866d11d1be828d27a06 (patch)
treebe484d3402a8eee81af2d52b62d879e486d35376 /nerv/examples/network_debug/reader.lua
parent51a3beef4a7cbd94278a406664212b6597aedd93 (diff)
fix duplicate bug on <input> & <output>
Diffstat (limited to 'nerv/examples/network_debug/reader.lua')
-rw-r--r--nerv/examples/network_debug/reader.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/nerv/examples/network_debug/reader.lua b/nerv/examples/network_debug/reader.lua
index 76a78cf..70c0c97 100644
--- a/nerv/examples/network_debug/reader.lua
+++ b/nerv/examples/network_debug/reader.lua
@@ -32,8 +32,8 @@ end
function Reader:get_seq(input_file)
local f = io.open(input_file, 'r')
self.seq = {}
- while true do
- -- for i = 1, 26 do
+ -- while true do
+ for i = 1, 26 do
local seq = f:read()
if seq == nil then
break