Merge pull request #471 from dingodoppelt/cli_remove_spaces
remove spaces from network address given as argument to --connect
This commit is contained in:
commit
5657bc9e55
1 changed files with 1 additions and 1 deletions
|
@ -462,7 +462,7 @@ int main ( int argc, char** argv )
|
||||||
"--connect",
|
"--connect",
|
||||||
strArgument ) )
|
strArgument ) )
|
||||||
{
|
{
|
||||||
strConnOnStartupAddress = strArgument;
|
strConnOnStartupAddress = strArgument.simplified().replace( " ", "" );
|
||||||
tsConsole << "- connect on startup to address: " << strConnOnStartupAddress << endl;
|
tsConsole << "- connect on startup to address: " << strConnOnStartupAddress << endl;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue