Skip to content

Commit

Permalink
try fix compex decode
Browse files Browse the repository at this point in the history
  • Loading branch information
avp-avp committed Aug 15, 2016
1 parent 7638af5 commit 0c3a1f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions librf/RFParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ string CRFParser::Parse(base_type** data, size_t* length)
string res = Parse(*data, *len);
if (res.length())
{
*data += (*len);
*data += (*length);
*length = 0;
return res;
}
Expand All @@ -114,7 +114,7 @@ string CRFParser::Parse(base_type** data, size_t* length)

string CRFParser::Parse(base_type* data, size_t len)
{
return "";
//return "";

if (len < MIN_PACKET_LEN)
return "";
Expand Down

0 comments on commit 0c3a1f8

Please sign in to comment.