Ignore:
Timestamp:
Jun 18, 2008, 10:01:15 PM (14 years ago)
Author:
charles
Message:

senseless RPC changes

File:
1 edited

Legend:

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

    r6139 r6222  
    153153        server->ctx = shttpd_init( );
    154154        snprintf( ports, sizeof( ports ), "%d", server->port );
    155         shttpd_register_uri( server->ctx, "/transmission", handle_rpc, server );
     155        shttpd_register_uri( server->ctx, "/transmission/rpc", handle_rpc, server );
    156156        shttpd_set_option( server->ctx, "ports", ports );
    157157        shttpd_set_option( server->ctx, "dir_list", "0" );
     
    163163        }
    164164        if( server->isPasswordEnabled ) {
    165             char * buf = tr_strdup_printf( "/transmission=%s", passwd );
     165            char * buf = tr_strdup_printf( "/transmission/rpc=%s", passwd );
    166166            shttpd_set_option( server->ctx, "protect", buf );
    167167            tr_free( buf );
Note: See TracChangeset for help on using the changeset viewer.