diff --git a/src/server/kiwix-serve.cpp b/src/server/kiwix-serve.cpp index 6833886..9f0e27d 100644 --- a/src/server/kiwix-serve.cpp +++ b/src/server/kiwix-serve.cpp @@ -410,7 +410,7 @@ int main(int argc, char **argv) { /* Setup the library manager and get the list of books */ if (libraryFlag) { - vector libraryPaths = split(libraryPath, ":"); + vector libraryPaths = kiwix::split(libraryPath, ":"); vector::iterator itr; for ( itr = libraryPaths.begin(); itr != libraryPaths.end(); ++itr ) { bool retVal = false; @@ -531,7 +531,7 @@ int main(int argc, char **argv) {
\ " + currentBook.description + "" + - " \ \ \
Size: " + beautifyInteger(atoi(currentBook.size.c_str())) + "MB (" + beautifyInteger(atoi(currentBook.articleCount.c_str())) + " articles, " + beautifyInteger(atoi(currentBook.mediaCount.c_str())) + " medias) \ + "
Size: " + kiwix::beautifyInteger(atoi(currentBook.size.c_str())) + "MB (" + kiwix::beautifyInteger(atoi(currentBook.articleCount.c_str())) + " articles, " + kiwix::beautifyInteger(atoi(currentBook.mediaCount.c_str())) + " medias) \ Created: " + currentBook.date + "
Author: " + currentBook.creator + "Language: " + currentBook.language + "
Publisher: " + (currentBook.publisher.empty() ? "unknown" : currentBook.publisher ) + "