summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/kdebug.h2
-rw-r--r--tdecore/ksock.cpp5
2 files changed, 7 insertions, 0 deletions
diff --git a/tdecore/kdebug.h b/tdecore/kdebug.h
index 46af54e97..43d1a78dc 100644
--- a/tdecore/kdebug.h
+++ b/tdecore/kdebug.h
@@ -25,6 +25,8 @@
#include <tqstring.h>
#include "tdelibs_export.h"
+#undef NDEBUG
+
class TQWidget;
class TQDateTime;
class TQDate;
diff --git a/tdecore/ksock.cpp b/tdecore/ksock.cpp
index 96526463a..89126e0ca 100644
--- a/tdecore/ksock.cpp
+++ b/tdecore/ksock.cpp
@@ -330,15 +330,20 @@ bool TDEServerSocket::init( unsigned short int _port )
return true;
}
+// RAJA FIXME DEBUG ONLY
+extern char *__progname;
+
bool TDEServerSocket::bindAndListen()
{
if (d == NULL || d->ks == NULL)
return false;
+printf("[RAJA DEBUG 640.0] In TDEServerSocket::bindAndListen [%s]\n\r", __progname); fflush(stdout);
int ret = d->ks->listen( SOMAXCONN );
if (ret < 0)
{
+printf("[RAJA DEBUG 640.1] Error listening on socket [%d]\n\r", ret); fflush(stdout);
kdWarning(170) << "Error listening on socket: " << ret << "\n";
delete d->ks;
d->ks = NULL;