summaryrefslogtreecommitdiff
path: root/tests/libgit2/transport
diff options
context:
space:
mode:
authorlhchavez <lhchavez@lhchavez.com>2022-06-11 14:29:15 -0700
committerGitHub <noreply@github.com>2022-06-11 14:29:15 -0700
commita75416761c28326262b8c48ebc81f34702fa33b1 (patch)
treea620aa7f4329a983de91c19e36524ba7bf8c1000 /tests/libgit2/transport
parent1d88605ca9d51f9e8695030853d5914743fbb091 (diff)
downloadlibgit2-a75416761c28326262b8c48ebc81f34702fa33b1.tar.gz
Apply suggestions from code review
Co-authored-by: Edward Thomson <ethomson@github.com>
Diffstat (limited to 'tests/libgit2/transport')
-rw-r--r--tests/libgit2/transport/register.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libgit2/transport/register.c b/tests/libgit2/transport/register.c
index 216f11e82..4d3c09726 100644
--- a/tests/libgit2/transport/register.c
+++ b/tests/libgit2/transport/register.c
@@ -134,7 +134,7 @@ static int custom_subtransport__action(
GIT_UNUSED(url);
GIT_UNUSED(action);
- ret = git_transport_smart_remote_connect_options(&opts, t->owner);
+ ret = git_transport_remote_connect_options(&opts, t->owner);
/* increase the counter once if this function was called at all and once more if the URL matches. */
(*t->called)++;