changeset 239:30887f3593dd

rename
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 30 Nov 2012 16:10:06 +0100
parents e4148b0ab1d0
children 2766fac53c81
files OrthancServer/ServerIndex.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp	Fri Nov 30 16:09:24 2012 +0100
+++ b/OrthancServer/ServerIndex.cpp	Fri Nov 30 16:10:06 2012 +0100
@@ -357,9 +357,9 @@
 
     uint64_t cs = db_->GetTotalCompressedSize();
     uint64_t us = db_->GetTotalUncompressedSize();
-    target["TotalDiskSize"] = boost::lexical_cast<std::string>(cs);
+    target["TotalDiskSpace"] = boost::lexical_cast<std::string>(cs);
     target["TotalUncompressedSize"] = boost::lexical_cast<std::string>(us);
-    target["TotalDiskSizeMB"] = boost::lexical_cast<unsigned int>(cs / (1024llu * 1024llu));
+    target["TotalDiskSpaceMB"] = boost::lexical_cast<unsigned int>(cs / (1024llu * 1024llu));
     target["TotalUncompressedSizeMB"] = boost::lexical_cast<unsigned int>(us / (1024llu * 1024llu));
 
     target["CountPatients"] = static_cast<unsigned int>(db_->GetResourceCount(ResourceType_Patient));