code review fix
Change-Id: Ie616543094aaa31d596980ba7a3cef05de4351fc
diff --git a/tools/ndncert-client.cpp b/tools/ndncert-client.cpp
index d31273d..4c13e48 100644
--- a/tools/ndncert-client.cpp
+++ b/tools/ndncert-client.cpp
@@ -129,13 +129,13 @@
std::cerr << "Error when decoding challenge step: " << e.what() << std::endl;
exit(1);
}
- if (requesterState->m_status == Status::SUCCESS) {
+ if (requesterState->status == Status::SUCCESS) {
std::cerr << "Certificate has already been issued, downloading certificate..." << std::endl;
face.expressInterest(*Requester::genCertFetchInterest(*requesterState), bind(&certFetchCb, _2),
bind(&onNackCb), bind(&timeoutCb));
return;
}
- runChallenge(requesterState->m_challengeType);
+ runChallenge(requesterState->challengeType);
}
static void