(trunk gtk) #4014 "409 error when opening .../transmission/web without trailing '/'" -- use suggestion from Mezz to have the "open web client" button in the GTK+ client follow the same URL as the Qt client

This commit is contained in:
Jordan Lee
2011-05-28 01:34:07 +00:00
parent 2492ac63e5
commit 9331a3cdac

View File

@@ -739,7 +739,7 @@ static void
onLaunchClutchCB( GtkButton * w UNUSED, gpointer data UNUSED )
{
const int port = gtr_pref_int_get( TR_PREFS_KEY_RPC_PORT );
char * uri = g_strdup_printf( "http://localhost:%d/transmission/web", port );
char * uri = g_strdup_printf( "http://localhost:%d/", port );
gtr_open_uri( uri );
g_free( uri );