curses client not displaying current download rate #610
curses frontend does not display current download rate. Traced the problem to server-side and there's an over-write of m_downloadRate with SpeedLimit which should be removed. This fixed my issue.
diff --git a/daemon/remote/BinRpc.cpp b/daemon/remote/BinRpc.cpp index 5e351545..3ff32cac 100644 --- a/daemon/remote/BinRpc.cpp +++ b/daemon/remote/BinRpc.cpp @@ -675,7 +675,6 @@ void ListBinCommand::Execute() Util::SplitInt64(remainingSize, &sizeHi, &sizeLo); ListResponse.m_remainingSizeHi = htonl(sizeHi); ListResponse.m_remainingSizeLo = htonl(sizeLo); - ListResponse.m_downloadRate = htonl(g_WorkState->GetSpeedLimit()); ListResponse.m_downloadPaused = htonl(g_WorkState->GetPauseDownload()); ListResponse.m_postPaused = htonl(g_WorkState->GetPausePostProcess()); ListResponse.m_scanPaused = htonl(g_WorkState->GetPauseScan());
The text was updated successfully, but these errors were encountered: