diff options
| author | Ben Straub <bs@github.com> | 2013-11-04 11:42:14 -0800 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2013-11-04 11:42:14 -0800 |
| commit | c227c173b84c8107a8933aeed947f16d82224377 (patch) | |
| tree | de2c6457d89387222b7a331c398ce3f67aed0b41 /src/transports/ssh.c | |
| parent | 56c1cda28a4b33fb305d99a2c7985a37efd3839d (diff) | |
| download | libgit2-c227c173b84c8107a8933aeed947f16d82224377.tar.gz | |
Use http_parser_parse_url to parse urls
Diffstat (limited to 'src/transports/ssh.c')
| -rw-r--r-- | src/transports/ssh.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/transports/ssh.c b/src/transports/ssh.c index 4e2834b49..db950e53d 100644 --- a/src/transports/ssh.c +++ b/src/transports/ssh.c @@ -330,7 +330,6 @@ static int _git_ssh_setup_conn( s = (ssh_stream *)*stream; if (!git__prefixcmp(url, prefix_ssh)) { - url = url + strlen(prefix_ssh); if (gitno_extract_url_parts(&host, &port, &user, &pass, url, default_port) < 0) goto on_error; } else { |
