Skip to content

Commit

Permalink
oci-authenticator: Don't shadow a global variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mwleeds authored and alexlarsson committed Mar 16, 2020
1 parent 4e7cee1 commit 84c68ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oci-authenticator/flatpak-oci-authenticator.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ lookup_auth_from_config (const char *oci_registry_uri)

/* Note: This runs on a thread, so we can just block */
static gboolean
handle_request_ref_tokens (FlatpakAuthenticator *authenticator,
handle_request_ref_tokens (FlatpakAuthenticator *f_authenticator,
GDBusMethodInvocation *invocation,
const gchar *arg_handle_token,
GVariant *arg_authenticator_options,
Expand Down Expand Up @@ -471,7 +471,7 @@ handle_request_ref_tokens (FlatpakAuthenticator *authenticator,
return TRUE;
}

flatpak_authenticator_complete_request_ref_tokens (authenticator, invocation, request_path);
flatpak_authenticator_complete_request_ref_tokens (f_authenticator, invocation, request_path);

registry = flatpak_oci_registry_new (oci_registry_uri, FALSE, -1, NULL, &error);
if (registry == NULL)
Expand Down

0 comments on commit 84c68ad

Please sign in to comment.