commit | 38d0e087a00c127fb227558c96c285ba19a61401 | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Mon Aug 12 18:07:44 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Mon Aug 12 18:07:44 2013 -0700 |
tree | eb63c20c73f3a9b9e84d4f13e061f0b45ce4eb7c | |
parent | 2e0e0884212e305ffa2147a3f24fd8a5cb420a6d [diff] [blame] |
Change the ExcludeEntry to use a name component directly.
diff --git a/ndn-cpp/interest.cpp b/ndn-cpp/interest.cpp index 5417fa0..b9a4b69 100644 --- a/ndn-cpp/interest.cpp +++ b/ndn-cpp/interest.cpp
@@ -28,7 +28,7 @@ ndn_ExcludeEntry *entry = &excludeStruct.entries[i]; if (entry->type == ndn_Exclude_COMPONENT) - addComponent(entry->component, entry->componentLength); + addComponent(entry->component.value, entry->component.valueLength); else if (entry->type == ndn_Exclude_ANY) addAny(); else