Changeset 5912
- Timestamp:
- May 23, 2008, 1:18:17 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/rpc-spec.txt
r5906 r5912 153 153 154 154 Response arguments: "torrent-status", an array of objects 155 identical to libtransmission's tr_stat struct. 155 based on libtransmission's tr_stat struct but different 156 in the following ways: 157 (1) tr_info's "hashString" field is added. 156 158 157 159 3.5. Adding a Torrent -
trunk/libtransmission/rpc.c
r5911 r5912 167 167 const tr_stat * st = tr_torrentStat( tor ); 168 168 const int * f = st->peersFrom; 169 tr_benc * d = tr_bencListAddDict( list, 4 0);169 tr_benc * d = tr_bencListAddDict( list, 41 ); 170 170 tr_benc * t; 171 171 … … 180 180 tr_bencDictAddStr( d, "errorString", st->errorString ); 181 181 tr_bencDictAddInt( d, "eta", st->eta ); 182 tr_bencDictAddStr( d, "hashString", tor->info.hashString ); 182 183 tr_bencDictAddInt( d, "haveUnchecked", st->haveUnchecked ); 183 184 tr_bencDictAddInt( d, "haveValid", st->haveValid );
Note: See TracChangeset
for help on using the changeset viewer.