Commit ea7c807a by Edward Thomson

net: use GIT_ASSERT

parent a3e8b7cd
......@@ -281,7 +281,8 @@ int git_net_url_apply_redirect(
git_net_url tmp = GIT_NET_URL_INIT;
int error = 0;
assert(url && redirect_location);
GIT_ASSERT(url);
GIT_ASSERT(redirect_location);
if (redirect_location[0] == '/') {
git__free(url->path);
......
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