Skip to content

Commit

Permalink
Fix the QUERY_FREE_SPACE_SUMMARY message
Browse files Browse the repository at this point in the history
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 8456ea2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mythtv/programs/mythbackend/mainserver.cpp
Expand Up @@ -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++];

Expand Down

0 comments on commit 8456ea2

Please sign in to comment.