提交 e0759037 编写于 作者: Y Your Name

文件宿允许空包

上级 ec680069
...@@ -127,8 +127,8 @@ int do_sink_txt(const cmdlineParser & args) ...@@ -127,8 +127,8 @@ int do_sink_txt(const cmdlineParser & args)
vector<unsigned char> packagedta = pull_subject(&header); vector<unsigned char> packagedta = pull_subject(&header);
if (packagedta.size()==0) if (packagedta.size()==0)
{ {
if (++failed_header>16) //if (++failed_header>16)
bfinished = true; // bfinished = true;
continue; continue;
} }
if (is_valid_header(header)==false) if (is_valid_header(header)==false)
...@@ -275,8 +275,8 @@ int do_sink_bin(const cmdlineParser & args) ...@@ -275,8 +275,8 @@ int do_sink_bin(const cmdlineParser & args)
vector<unsigned char> packagedta = pull_subject(&header); vector<unsigned char> packagedta = pull_subject(&header);
if (packagedta.size()==0) if (packagedta.size()==0)
{ {
if (++failed_header>16) //if (++failed_header>16)
bfinished = true; // bfinished = true;
continue; continue;
} }
if (is_valid_header(header)==false) if (is_valid_header(header)==false)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册