Name: Change to not use the deprecated addComponent.
diff --git a/src/interest.cpp b/src/interest.cpp
index 92fe972..b2ab024 100644
--- a/src/interest.cpp
+++ b/src/interest.cpp
@@ -41,9 +41,9 @@
ndn_ExcludeEntry *entry = &excludeStruct.entries[i];
if (entry->type == ndn_Exclude_COMPONENT)
- addComponent(entry->component.value.value, entry->component.value.length);
+ appendComponent(entry->component.value.value, entry->component.value.length);
else if (entry->type == ndn_Exclude_ANY)
- addAny();
+ appendAny();
else
throw runtime_error("unrecognized ndn_ExcludeType");
}