File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ bool git_net_url_valid(git_net_url *url)
335335 return (url -> host && url -> port && url -> path );
336336}
337337
338- int git_net_url_is_default_port (git_net_url * url )
338+ bool git_net_url_is_default_port (git_net_url * url )
339339{
340340 const char * default_port ;
341341
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ extern int git_net_url_joinpath(
3333/** Ensures that a URL is minimally valid (contains a host, port and path) */
3434extern bool git_net_url_valid (git_net_url * url );
3535
36- /** Returns nonzero if the URL is on the default port. */
37- extern int git_net_url_is_default_port (git_net_url * url );
36+ /** Returns true if the URL is on the default port. */
37+ extern bool git_net_url_is_default_port (git_net_url * url );
3838
3939/* Applies a redirect to the URL with a git-aware service suffix. */
4040extern int git_net_url_apply_redirect (
You can’t perform that action at this time.
0 commit comments