commit | 4194b74faa17aeeda8f6d01fb222c08a529f0480 | [log] [tgz] |
---|---|---|
author | Chaoyi Bian <tlyzbcy@gmail.com> | Thu Mar 08 17:21:35 2012 -0800 |
committer | Chaoyi Bian <tlyzbcy@gmail.com> | Thu Mar 08 17:21:35 2012 -0800 |
tree | 0c6eab27390eb4093b60cf0d5c60e2d9e1be6587 | |
parent | 181b1fb2d744b747980af9cfb1069195a88d8ab8 [diff] [blame] |
change dataCallback to have two parameters: name and content
diff --git a/model/sync-app-data-fetch.cc b/model/sync-app-data-fetch.cc index af696e2..76b6119 100644 --- a/model/sync-app-data-fetch.cc +++ b/model/sync-app-data-fetch.cc
@@ -32,6 +32,8 @@ { for (uint32_t i = startSeq; i <= endSeq; i++) { + if (i == 0) + continue; string interestName = prefix; interestName += i; m_ccnxHandle->sendInterest(interestName, m_dataCallback);