fw: fix isPending condition
refs #1404
Change-Id: I18c565de915417f48ba812cded1d85f367304f5c
diff --git a/daemon/fw/forwarder.cpp b/daemon/fw/forwarder.cpp
index e46bd5a..58ce5a3 100644
--- a/daemon/fw/forwarder.cpp
+++ b/daemon/fw/forwarder.cpp
@@ -61,7 +61,7 @@
// is pending?
const pit::InRecordCollection& inRecords = pitEntry->getInRecords();
- bool isPending = inRecords.begin() == inRecords.end();
+ bool isPending = inRecords.begin() != inRecords.end();
if (!isPending) {
// CS lookup
const Data* csMatch = m_cs.find(interest);