1
0
Fork 0

oops, fixed my typo

This commit is contained in:
Jan Steemann 2016-07-08 12:33:56 +02:00
parent f682d658fe
commit aff0964da0
1 changed files with 1 additions and 1 deletions

View File

@ -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://"));