Fixed incorrect TTQ rename (TTQ -> TQ)

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 6 years ago
parent fa7665909d
commit c9036df211
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -308,14 +308,14 @@ public:
{
if(!ok()) {
printf("Error binding to port %d!\n", port);
TTQTimer::singleShot(0, this, SIGNAL(quit()));
TQTimer::singleShot(0, this, SIGNAL(quit()));
return;
}
char myhostname[256];
int r = gethostname(myhostname, sizeof(myhostname)-1);
if(r == -1) {
printf("Error getting hostname!\n");
TTQTimer::singleShot(0, this, SIGNAL(quit()));
TQTimer::singleShot(0, this, SIGNAL(quit()));
return;
}
host = myhostname;

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

Loading…
Cancel
Save