remove redundent branches in iterative-query-controller
Change-Id: I03fb0e5775b0a87542a8e4765e0ffba129b8e16c
diff --git a/src/clients/iterative-query-controller.cpp b/src/clients/iterative-query-controller.cpp
index 8b582a3..2b56426 100644
--- a/src/clients/iterative-query-controller.cpp
+++ b/src/clients/iterative-query-controller.cpp
@@ -115,17 +115,12 @@
else if (contentType == NDNS_AUTH) {
m_nTryComps += 1;
}
- else if (contentType == NDNS_BLOB) {
- std::ostringstream oss;
- oss << *this;
- NDNS_LOG_WARN("get unexpected Response: NDNS_BLOB for QUERY_NS: " << oss.str());
- }
else {
std::ostringstream oss;
oss << *this;
NDNS_LOG_WARN("get unexpected Response for QUERY_NS: " << oss.str());
}
- //
+
if (m_nFinishedComps + m_nTryComps > m_dstLabel.size()) {
if (m_rrType == label::NS_RR_TYPE) {
m_step = QUERY_STEP_ANSWER_STUB;