interest-table: normalize naming of member methods.
Change-Id: I9c82604202741dbcfdc70ffd8ab1fcdfa0a743ae
Refs: #2120
diff --git a/src/logic.cpp b/src/logic.cpp
index e0c0501..48d6cfb 100644
--- a/src/logic.cpp
+++ b/src/logic.cpp
@@ -436,7 +436,8 @@
if (!isTimedProcessing) {
_LOG_DEBUG_ID("Let's wait, just wait for a while");
// Do not hurry, some incoming SyncReplies may help us to recognize the digest
- bool doesExist = m_interestTable.insert(interest, digest, true);
+ bool doesExist = m_interestTable.has(digest);
+ m_interestTable.insert(interest, digest, true);
if (doesExist)
// Original comment (not sure): somebody else replied, so restart random-game timer
// YY: Get the same SyncInterest again, refresh the timer