Opened 13 years ago
Closed 12 years ago
#1261 closed Bug (fixed)
Via JSON need to send in KBytes, receiving in bytes?
Reported by: | spry | Owned by: | charles |
---|---|---|---|
Priority: | Normal | Milestone: | 1.40 |
Component: | libtransmission | Version: | 1.33 |
Severity: | Normal | Keywords: | |
Cc: |
Description
Well. When I ask "session-get", fields "speed-limit-down" and "speed-limit-up" are arriving as 104448, or ~102Kbytes, but in docs you say that it should be in Kilobytes. But when I do "session-set" with the same parameters and values from "session-get", on next "session-get" that transform as they would be multiplied *1024, so like I read in bytes, and set in kilobytes. That is kind of wierd.. This premultiply is done in session-get handler, in libransmission\rpc.c, function sessionGet.
Change History (2)
comment:1 Changed 13 years ago by charles
- Milestone changed from None Set to 1.40
- Status changed from new to assigned
comment:2 Changed 12 years ago by charles
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
fixed for 1.40 in r6828