(trunk libT) add more startup debug messages in the RPC server

This commit is contained in:
Charles Kerr 2008-12-16 16:13:21 +00:00
parent ff1fddbadc
commit 56663b860b
1 changed files with 12 additions and 0 deletions

View File

@ -704,5 +704,17 @@ tr_rpcInit( tr_session * session,
s->isEnabled = isEnabled != 0;
if( isEnabled )
tr_runInEventThread( session, startServer, s );
if( isEnabled )
{
tr_ninf( MY_NAME, _( "Serving RPC and Web requests on port %d" ), (int)port );
if( isWhitelistEnabled )
tr_ninf( MY_NAME, _( "Whitelist is: %s" ), whitelist );
if( isPasswordEnabled )
tr_ninf( MY_NAME, _( "Password required" ) );
}
return s;
}