Ticket #9810: query_free_space_summary.patch

File query_free_space_summary.patch, 700 bytes (added by Gregory Moyer <moyerg@…>, 13 years ago)
  • mythtv/programs/mythbackend/mainserver.cpp

    diff --git a/mythtv/programs/mythbackend/mainserver.cpp b/mythtv/programs/mythbackend/mainserver.cpp
    index 22a63e3..c99006f 100644
    a b void MainServer::HandleQueryFreeSpaceSummary(PlaybackSock *pbs) 
    26972697    BackendQueryDiskSpace(fullStrList, true, true);
    26982698
    26992699    // The TotalKB and UsedKB are the last two numbers encoded in the list
    2700     unsigned int index = fullStrList.size() - 4;
    2701     strList << fullStrList[index++];
    2702     strList << fullStrList[index++];
     2700    unsigned int index = fullStrList.size() - 2;
    27032701    strList << fullStrList[index++];
    27042702    strList << fullStrList[index++];
    27052703