diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-04-17 23:17:27 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-04-17 23:17:27 +0800 |
commit | f98eb5808bd5fbdf7463f2d7233bb3cc52b12f89 (patch) | |
tree | 5acf0b41de3af64cfe0e14a5f2465485afe9d26f /cli-runopts.c | |
parent | 3525cabf48eb97d2e58a1e715e70fab399d40568 (diff) |
Use % rather than # for port delimiter
Diffstat (limited to 'cli-runopts.c')
-rw-r--r-- | cli-runopts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-runopts.c b/cli-runopts.c index 62568b0..91a2f42 100644 --- a/cli-runopts.c +++ b/cli-runopts.c @@ -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, '/'); |