From cb82d4ad1c5a08098e5b5229f367865ee94958bb Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 15 Jul 2008 20:39:50 +0000 Subject: [PATCH] (rpc) fix possible password authentication error reported by kman --- libtransmission/rpc-server.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libtransmission/rpc-server.c b/libtransmission/rpc-server.c index 8d934b078..a1c6c4d24 100644 --- a/libtransmission/rpc-server.c +++ b/libtransmission/rpc-server.c @@ -294,8 +294,7 @@ startServer( tr_rpc_server * server ) shttpd_set_option( server->ctx, "acl", server->acl ); } if( server->isPasswordEnabled ) { - char * buf = tr_strdup_printf( "/transmission/rpc=%s," - "/transmission/upload=%s", passwd, passwd ); + char * buf = tr_strdup_printf( "/transmission=%s", passwd ); shttpd_set_option( server->ctx, "protect", buf ); tr_free( buf ); }