Browse Source

Fixed incorrect TTQ rename (TTQ -> TQ)

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 1 year ago
parent
commit
c9036df211
Signed by: Michele Calgaro <michele.calgaro@yahoo.it> GPG Key ID: 2A75B7CA8ADED5CF
2 changed files with 4 additions and 4 deletions
  1. 2
    2
      examples/sasltest/sasltest.cpp
  2. 2
    2
      examples/sslservtest/sslservtest.cpp

+ 2
- 2
examples/sasltest/sasltest.cpp View File

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

+ 2
- 2
examples/sslservtest/sslservtest.cpp View File

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