Use % rather than # for port delimiter

This commit is contained in:
Matt Johnston
2013-04-17 23:17:27 +08:00
parent 3525cabf48
commit f98eb5808b
2 changed files with 4 additions and 4 deletions

View File

@@ -610,7 +610,7 @@ static void parse_hostname(const char* orighostarg) {
cli_opts.username = m_strdup(cli_opts.own_user);
}
port = strchr(cli_opts.remotehost, '#');
port = strchr(cli_opts.remotehost, '%');
if (!port) {
// legacy separator
port = strchr(cli_opts.remotehost, '/');