Commit c87bf86c by Russell Belfer

Commit 7affc2f7 removed var initialization

That commit accidentally removed the initialization of the "start"
variable giving undefined results for the host extraction from the
url input.
parent ad0af715
......@@ -215,6 +215,7 @@ static int git_ssh_extract_url_parts(
*username = git__substrdup(url, at - url);
GITERR_CHECK_ALLOC(*username);
} else {
start = url;
*username = NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment