Fixed ordering of writing info about test DNS lookup to text area
This commit is contained in:
parent
851c2f79e3
commit
1af0632037
1 changed files with 5 additions and 3 deletions
8
main.cpp
8
main.cpp
|
@ -61,7 +61,7 @@ void init() {
|
|||
}
|
||||
if (policy == SSL_ALLOWED) {
|
||||
// Policy allowed this cipher choice
|
||||
fprintf(stderr, "Info: found cipher %x\n", (unsigned) *p);
|
||||
// fprintf(stderr, "Info: found cipher %x\n", (unsigned) *p);
|
||||
foundGoodCipher = PR_TRUE;
|
||||
break;
|
||||
}
|
||||
|
@ -110,13 +110,15 @@ int main(int argc, char *argv[]) {
|
|||
SSL_ImportFD(NULL, tcpSocket);
|
||||
|
||||
|
||||
|
||||
ui *uiInstance = new ui(argc, argv);
|
||||
int qAppRetCode = uiInstance->exec();
|
||||
|
||||
char messageBuf[1024];
|
||||
sprintf(messageBuf, "Found IP Address: %s", ipString);
|
||||
uiInstance->mainLog->appendPlainText(messageBuf);
|
||||
|
||||
int qAppRetCode = uiInstance->exec();
|
||||
|
||||
// Shutdown of NSS
|
||||
SECMOD_DestroyModule(builtInRootsMod);
|
||||
NSS_ShutdownContext(nssContext);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue