Permalink
Browse files

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 <ghurlbut@mythtv.org>
  • Loading branch information...
syphr42 authored and Beirdo committed May 30, 2011
1 parent 490d13b commit 8456ea24b7994c30bc0a90996f72a74204250a8e
Showing with 1 addition and 3 deletions.
  1. +1 −3 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++];

0 comments on commit 8456ea2

Please sign in to comment.