mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
Catch up with function renaming.
This commit is contained in:
parent
e880aa48a5
commit
cedcbf701e
2 changed files with 6 additions and 6 deletions
|
@ -174,8 +174,8 @@ int main( int argc, char ** argv )
|
||||||
signal( SIGINT, sigHandler );
|
signal( SIGINT, sigHandler );
|
||||||
|
|
||||||
tr_setBindPort( h, bindPort );
|
tr_setBindPort( h, bindPort );
|
||||||
tr_setUploadLimit( h, uploadLimit );
|
tr_setGlobalUploadLimit( h, uploadLimit );
|
||||||
tr_setDownloadLimit( h, downloadLimit );
|
tr_setGlobalDownloadLimit( h, downloadLimit );
|
||||||
|
|
||||||
if( natTraversal )
|
if( natTraversal )
|
||||||
{
|
{
|
||||||
|
|
|
@ -364,9 +364,9 @@ void
|
||||||
applyprefs(TrBackend *back) {
|
applyprefs(TrBackend *back) {
|
||||||
struct { void (*func)(tr_handle_t*, int);
|
struct { void (*func)(tr_handle_t*, int);
|
||||||
const char *use; const char *num; gboolean defuse; long def; } lim[] = {
|
const char *use; const char *num; gboolean defuse; long def; } lim[] = {
|
||||||
{tr_setDownloadLimit, PREF_USEDOWNLIMIT, PREF_DOWNLIMIT,
|
{tr_setGlobalDownloadLimit, PREF_USEDOWNLIMIT, PREF_DOWNLIMIT,
|
||||||
DEF_USEDOWNLIMIT, DEF_DOWNLIMIT},
|
DEF_USEDOWNLIMIT, DEF_DOWNLIMIT},
|
||||||
{tr_setUploadLimit, PREF_USEUPLIMIT, PREF_UPLIMIT,
|
{tr_setGlobalUploadLimit, PREF_USEUPLIMIT, PREF_UPLIMIT,
|
||||||
DEF_USEUPLIMIT, DEF_UPLIMIT},
|
DEF_USEUPLIMIT, DEF_UPLIMIT},
|
||||||
};
|
};
|
||||||
const char *pref;
|
const char *pref;
|
||||||
|
|
Loading…
Reference in a new issue