adjust client command line tool to reflect the library change
Change-Id: Ie0628470b5b96848b930d131ad92fd196de8f64c
diff --git a/src/client-module.cpp b/src/client-module.cpp
index b3af7dd..f8d73f6 100644
--- a/src/client-module.cpp
+++ b/src/client-module.cpp
@@ -111,6 +111,9 @@
if (nameUri != "") {
m_identityName = Name(nameUri);
}
+ else {
+ NDN_LOG_TRACE("The JSON_CA_NAME is empty.");
+ }
}
shared_ptr<Interest>
@@ -137,6 +140,7 @@
// do nothing
}
else {
+ NDN_LOG_TRACE("Randomly create a new name because m_identityName is empty and the param is empty.");
auto id = std::to_string(random::generateSecureWord64());
m_identityName = m_ca.m_caName;
m_identityName.append(id);