mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
(trunk qt) sync Qt client with r12355
This commit is contained in:
parent
ab48f1ccb3
commit
20655ede63
1 changed files with 2 additions and 2 deletions
|
@ -308,7 +308,7 @@ Session :: restart( )
|
|||
}
|
||||
|
||||
static void
|
||||
curlConfigFunc( tr_session * session UNUSED, void * vcurl, const char * destination )
|
||||
curlConfigFunc( tr_session * session UNUSED, void * vcurl, const char * destination, void * unused UNUSED )
|
||||
{
|
||||
CURL * easy = vcurl;
|
||||
const QUrl url( destination );
|
||||
|
@ -361,7 +361,7 @@ Session :: start( )
|
|||
tr_bencInitDict( &settings, 0 );
|
||||
tr_sessionLoadSettings( &settings, myConfigDir.toUtf8().constData(), "qt" );
|
||||
mySession = tr_sessionInit( "qt", myConfigDir.toUtf8().constData(), true, &settings );
|
||||
tr_sessionSetWebConfigFunc( mySession, curlConfigFunc );
|
||||
tr_sessionSetWebConfigFunc( mySession, curlConfigFunc, NULL );
|
||||
tr_bencFree( &settings );
|
||||
|
||||
tr_ctor * ctor = tr_ctorNew( mySession );
|
||||
|
|
Loading…
Reference in a new issue