From aff0964da02fedec7dba06e58daa290ee50f559f Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Fri, 8 Jul 2016 12:33:56 +0200 Subject: [PATCH] oops, fixed my typo --- arangosh/Shell/ConsoleFeature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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://"));