]> granicus.if.org Git - transmission/commitdiff
(rpc) fix possible password authentication error reported by kman
authorCharles Kerr <charles@transmissionbt.com>
Tue, 15 Jul 2008 20:39:50 +0000 (20:39 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Tue, 15 Jul 2008 20:39:50 +0000 (20:39 +0000)
libtransmission/rpc-server.c

index 8d934b078840bdb28bf2a6aa8316638595280cef..a1c6c4d24215d578e2e793b92f54fefac5c9ce80 100644 (file)
@@ -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 );
         }