Changeset 6817


Ignore:
Timestamp:
Sep 30, 2008, 6:31:04 PM (13 years ago)
Author:
charles
Message:

pass 0.0.0.0 in as the rpc server address

File:
1 edited

Legend:

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

    r6815 r6817  
    408408        server->httpd = evhttp_new( tr_eventGetBase( server->session ) );
    409409        fprintf( stderr, "%s:%d in startServer; new context is %p\n", __FILE__, __LINE__, server->httpd );
    410         i = evhttp_bind_socket( server->httpd, NULL, server->port );
     410        i = evhttp_bind_socket( server->httpd, "0.0.0.0", server->port );
    411411        fprintf( stderr, "evhttp_bind_socket returned %d\n", i );
    412412        evhttp_set_gencb( server->httpd, handle_request, server );
Note: See TracChangeset for help on using the changeset viewer.