mirror of https://gitee.com/bigwinds/arangodb
oops, fixed my typo
This commit is contained in:
parent
f682d658fe
commit
aff0964da0
|
@ -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://"));
|
||||
|
|
Loading…
Reference in New Issue