From 8456ea24b7994c30bc0a90996f72a74204250a8e Mon Sep 17 00:00:00 2001 From: Gregory Moyer Date: Sun, 29 May 2011 18:16:08 -0700 Subject: [PATCH] Fix the QUERY_FREE_SPACE_SUMMARY message Seems that the summary message was missed in the conversion to 64bit from 2*32. Fixes #9810 Signed-off-by: Gavin Hurlbut --- mythtv/programs/mythbackend/mainserver.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mythtv/programs/mythbackend/mainserver.cpp b/mythtv/programs/mythbackend/mainserver.cpp index 22a63e3c1f8..c99006f97a1 100644 --- a/mythtv/programs/mythbackend/mainserver.cpp +++ b/mythtv/programs/mythbackend/mainserver.cpp @@ -2697,9 +2697,7 @@ void MainServer::HandleQueryFreeSpaceSummary(PlaybackSock *pbs) BackendQueryDiskSpace(fullStrList, true, true); // The TotalKB and UsedKB are the last two numbers encoded in the list - unsigned int index = fullStrList.size() - 4; - strList << fullStrList[index++]; - strList << fullStrList[index++]; + unsigned int index = fullStrList.size() - 2; strList << fullStrList[index++]; strList << fullStrList[index++];