1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

Catch up with function renaming.

This commit is contained in:
Josh Elsasser 2006-12-27 00:33:22 +00:00
parent e880aa48a5
commit cedcbf701e
2 changed files with 6 additions and 6 deletions

View file

@ -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 )
{ {

View file

@ -364,10 +364,10 @@ 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;
int ii; int ii;