Changeset 6331


Ignore:
Timestamp:
Jul 15, 2008, 3:26:01 AM (13 years ago)
Author:
charles
Message:

fix rpc `uploadRatio' field as reported by blueluna

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpc.c

    r6316 r6331  
    211211        tr_bencDictAddInt( d, "swarmSpeed", (int)(st->swarmSpeed*1024) );
    212212        tr_bencDictAddInt( d, "webseedsSendingToUs", st->webseedsSendingToUs );
     213        tr_bencDictAddDouble( d, "uploadRatio", tr_getRatio( st->uploadedEver, st->downloadedEver ) );
    213214    }
    214215
Note: See TracChangeset for help on using the changeset viewer.