Skip to content

Commit

Permalink
Correct g_hash_table_remove arg
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmundell authored and jjnicola committed Nov 4, 2020
1 parent 047d661 commit ea15fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osp/osp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,7 @@ osp_credential_set_auth_data (osp_credential_t *credential, const char *name,
g_hash_table_replace (credential->auth_data, g_strdup (name),
g_strdup (value));
else
g_hash_table_remove (credential->auth_data, value);
g_hash_table_remove (credential->auth_data, name);
}
else
{
Expand Down

0 comments on commit ea15fff

Please sign in to comment.