]> granicus.if.org Git - transmission/commitdiff
(rpc) fix small bug introduced in the last commit.
authorCharles Kerr <charles@transmissionbt.com>
Wed, 8 Oct 2008 16:31:17 +0000 (16:31 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Wed, 8 Oct 2008 16:31:17 +0000 (16:31 +0000)
libtransmission/rpc-server.c

index f046bb355b8018390262b1007d62b42a00ef0bff..790a0b75eb90e0b16b569881751c1b55cd9ae272 100644 (file)
@@ -341,7 +341,7 @@ handle_clutch( struct evhttp_request * req,
         filename = tr_strdup_printf( "%s%s%s",
                        clutchDir,
                        TR_PATH_DELIMITER_STR,
-                       subpath && *subpath ? subpath : ":index.html" );
+                       subpath && *subpath ? subpath : "index.html" );
 
         serve_file( req, filename );