diff --git a/arangosh/Shell/ConsoleFeature.cpp b/arangosh/Shell/ConsoleFeature.cpp index 655207607e..2541d4a765 100644 --- a/arangosh/Shell/ConsoleFeature.cpp +++ b/arangosh/Shell/ConsoleFeature.cpp @@ -469,7 +469,7 @@ ConsoleFeature::Prompt ConsoleFeature::buildPrompt(ClientFeature* client) { if (c == 'E') { // replace protocol - if (ep.commpare("tcp://") == 0) { + if (ep.compare("tcp://") == 0) { ep = ep.substr(strlen("tcp://")); } else if (ep.compare("http+tcp://") == 0) { ep = ep.substr(strlen("http+tcp://"));