|
|
@ -143,12 +143,12 @@ public:
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(cert.isNull() || privkey.isNull()) {
|
|
|
|
if(cert.isNull() || privkey.isNull()) {
|
|
|
|
printf("Error loading cert and/or private key!\n");
|
|
|
|
printf("Error loading cert and/or private key!\n");
|
|
|
|
TTQTimer::singleShot(0, this, SIGNAL(quit()));
|
|
|
|
TQTimer::singleShot(0, this, SIGNAL(quit()));
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(!ok()) {
|
|
|
|
if(!ok()) {
|
|
|
|
printf("Error binding to port %d!\n", port);
|
|
|
|
printf("Error binding to port %d!\n", port);
|
|
|
|
TTQTimer::singleShot(0, this, SIGNAL(quit()));
|
|
|
|
TQTimer::singleShot(0, this, SIGNAL(quit()));
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
printf("Listening on port %d ...\n", port);
|
|
|
|
printf("Listening on port %d ...\n", port);
|
|
|
|