diff --git a/src/server/kiwix-serve.cpp b/src/server/kiwix-serve.cpp index 0c385f4..54c1775 100644 --- a/src/server/kiwix-serve.cpp +++ b/src/server/kiwix-serve.cpp @@ -320,7 +320,7 @@ static struct MHD_Response* handle_suggest( = MHD_lookup_connection_value(connection, MHD_GET_ARGUMENT_KIND, "term"); std::string term = cTerm == NULL ? "" : cTerm; if (isVerbose.load()) { - std::cout << "Searching suggestions for: \"" << term << "\"" << endl; + printf("Searching suggestions for: \"%s\"\n", term.c_str()); } pthread_mutex_lock(&searchLock); @@ -496,7 +496,7 @@ static struct MHD_Response* handle_content( if (!found) { if (isVerbose.load()) - cout << "Failed to find " << urlStr << endl; + printf("Failed to find %s\n", urlStr.c_str()); content = "\n