From f98eb5808bd5fbdf7463f2d7233bb3cc52b12f89 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Wed, 17 Apr 2013 23:17:27 +0800 Subject: Use % rather than # for port delimiter --- cli-runopts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli-runopts.c') 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, '/'); -- cgit v1.2.3