Fix prior commit

pull/16/head
Timothy Pearson 10 years ago
parent 427ebd3a97
commit 41d5228071

@ -330,20 +330,15 @@ bool TDEServerSocket::init( unsigned short int _port )
return true; return true;
} }
// RAJA FIXME DEBUG ONLY
extern char *__progname;
bool TDEServerSocket::bindAndListen() bool TDEServerSocket::bindAndListen()
{ {
if (d == NULL || d->ks == NULL) if (d == NULL || d->ks == NULL)
return false; return false;
printf("[RAJA DEBUG 640.0] In TDEServerSocket::bindAndListen [%s]\n\r", __progname); fflush(stdout);
int ret = d->ks->listen( SOMAXCONN ); int ret = d->ks->listen( SOMAXCONN );
if (ret < 0) 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"; kdWarning(170) << "Error listening on socket: " << ret << "\n";
delete d->ks; delete d->ks;
d->ks = NULL; d->ks = NULL;

Loading…
Cancel
Save