commit | e10acbc260b3919995ce7936d2632de47cd4eedf | [log] [tgz] |
---|---|---|
author | Sonu Mishra <skmishra@cs.ucla.edu> | Wed Jan 18 14:14:05 2017 -0800 |
committer | Sonu Mishra <skmishra@cs.ucla.edu> | Wed Jan 18 20:32:59 2017 -0800 |
tree | 047083f7ec5f43728c15c0109bc957a57f9f98ff | |
parent | 0dadc57c604455623d16e27149190aae50defd42 [diff] |
logic: Fixed empty digest comparison Change-Id: I2a6606d886e29f8ee781beea10c81519950fb734 Refs: #3927
diff --git a/src/logic.cpp b/src/logic.cpp index 366ffbc..a110328 100644 --- a/src/logic.cpp +++ b/src/logic.cpp
@@ -421,7 +421,7 @@ } // If the digest of incoming interest is an "empty" digest - if (digest == EMPTY_DIGEST) { + if (*digest == *EMPTY_DIGEST) { _LOG_DEBUG_ID("Poor guy, he knows nothing"); sendSyncData(m_defaultUserPrefix, name, m_state); return;