Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
@ -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");
host = myhostname;
@ -143,12 +143,12 @@ public:
if(cert.isNull() || privkey.isNull()) {
printf("Error loading cert and/or private key!\n");
printf("Listening on port %d ...\n", port);