void OTCaller::callTwo() 
{ 
	ZeroOutPassword(); // Make sure there isn't some old password still in here.
	
	if (isCallbackSet()) 
	{ 
		OTLog::Output(0, "OTCaller::callTwo: FYI, Executing password callback (two)...\n");		
		_callback->runTwo(this->GetDisplay(), m_Password);
	}
	else
	{
		OTLog::Output(0, "OTCaller::callTwo: WARNING: Failed attempt to trigger password callback (two), due to \"it hasn't been set yet.\"\n");
	}	
}
Example #2
0
void OTCaller::callTwo()
{
    ZeroOutPassword(); // Make sure there isn't some old password still in here.

    if (isCallbackSet()) {
        otOut
            << "OTCaller::callTwo: FYI, Executing password callback (two)...\n";
        _callback->runTwo(GetDisplay(), m_Password);
    }
    else {
        otOut << "OTCaller::callTwo: WARNING: Failed attempt to trigger "
                 "password callback (two), due to \"it hasn't been set "
                 "yet.\"\n";
    }
}