Mercurial > dropbear
diff cli-runopts.c @ 784:0e5ea6812bb7
Use % rather than # for port delimiter
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 17 Apr 2013 23:17:27 +0800 |
parents | 34e69908b3f7 |
children | c936abfa9935 |
line wrap: on
line diff
--- a/cli-runopts.c Wed Apr 17 22:48:43 2013 +0800 +++ b/cli-runopts.c Wed Apr 17 23:17:27 2013 +0800 @@ -610,7 +610,7 @@ 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, '/');