Changeset 6810


Ignore:
Timestamp:
Sep 29, 2008, 3:02:27 AM (13 years ago)
Author:
charles
Message:

add some debugging messages for the RPC server

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpc-server.c

    r6804 r6810  
    328328{
    329329    struct tr_rpc_server * server = arg;
     330    tr_ndbg( MY_NAME, _( "Got request: \"%s\"" ), req->uri );
    330331
    331332    if( req && req->evcon )
     
    401402
    402403    if( !server->httpd )
    403         if( ( server->httpd = evhttp_start( NULL, server->port ) ) )
     404    {
     405        if( ( server->httpd = evhttp_start( "0.0.0.0", server->port ) ) )
    404406            evhttp_set_gencb( server->httpd, handle_request, server );
     407        else
     408            tr_nerr( MY_NAME, _( "Failed to start RPC server" ) );
     409    }
    405410}
    406411
Note: See TracChangeset for help on using the changeset viewer.