commit | d02a5d6b16bb3b15046b716b3a523c8488571102 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Mon Nov 21 11:01:51 2011 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Mon Nov 21 11:01:51 2011 -0800 |
tree | e8ffc02e2739265413963197572640843a2a4c25 | |
parent | aa1154b230b734b550e6da9515ac7341d9b66710 [diff] [blame] |
Adding several corrections. Most important is fixing regression in ccnb-parser-block.cc
diff --git a/helper/ccnx-decoding-helper.cc b/helper/ccnx-decoding-helper.cc index 52061ab..54f636b 100644 --- a/helper/ccnx-decoding-helper.cc +++ b/helper/ccnx-decoding-helper.cc
@@ -40,6 +40,8 @@ Ptr<CcnbParser::Block> root = CcnbParser::Block::ParseBlock (i); root->accept (interestVisitor, &interest); + root = 0; + return i.GetDistanceFrom (start); }