Remove hints
Change-Id: I537619fefad6ffb6b46c5dc618f0fdcc15884d6e
diff --git a/src/daemon/name-server.cpp b/src/daemon/name-server.cpp
index 3170f79..15f77c3 100644
--- a/src/daemon/name-server.cpp
+++ b/src/daemon/name-server.cpp
@@ -75,7 +75,7 @@
NameServer::onInterest(const Name& prefix, const Interest& interest)
{
label::MatchResult re;
- if (!label::matchName(interest, "", m_zone.getName(), re))
+ if (!label::matchName(interest, m_zone.getName(), re))
return;
if (re.rrType == ndns::label::NDNS_UPDATE_LABEL) {
@@ -158,7 +158,7 @@
{
label::MatchResult re;
try {
- if (!label::matchName(*data, "", m_zone.getName(), re))
+ if (!label::matchName(*data, m_zone.getName(), re))
return;
}
catch (std::exception& e) {