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()) { 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;
} }
char myhostname[256]; char myhostname[256];
int r = gethostname(myhostname, sizeof(myhostname)-1); int r = gethostname(myhostname, sizeof(myhostname)-1);
if(r == -1) { if(r == -1) {
printf("Error getting hostname!\n"); printf("Error getting hostname!\n");
TTQTimer::singleShot(0, this, SIGNAL(quit())); TQTimer::singleShot(0, this, SIGNAL(quit()));
return; return;
} }
host = myhostname; host = myhostname;

@ -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);

Loading…
Cancel
Save