diff options
author | Dan Williams <dcbw@redhat.com> | 2013-06-19 17:51:09 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2013-06-21 11:53:58 -0500 |
commit | ae8d3126d336a107934d811b4ace77a594a9531d (patch) | |
tree | 08ae0d71c03294b98dd652143fef73f225900dcb /src/nm-activation-request.c | |
parent | 23732ea5583f025c7ce21744d8608f92ba6b49bb (diff) | |
download | NetworkManager-dcbw/agent-secrets-refactor.tar.gz |
agents: change secrets request hints back to char **dcbw/agent-secrets-refactor
Previously I didn't think they'd be used for anything other than connection secrets
which only have one hint, but in the future we'll want to pass more information.
Diffstat (limited to 'src/nm-activation-request.c')
-rw-r--r-- | src/nm-activation-request.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nm-activation-request.c b/src/nm-activation-request.c index e17f2a7e80..359a68e54e 100644 --- a/src/nm-activation-request.c +++ b/src/nm-activation-request.c @@ -116,6 +116,7 @@ nm_act_request_get_secrets (NMActRequest *self, guint32 call_id; NMConnection *connection; gboolean user_requested; + const char *hints[2] = { hint, NULL }; g_return_val_if_fail (self, 0); g_return_val_if_fail (NM_IS_ACT_REQUEST (self), 0); @@ -137,7 +138,7 @@ nm_act_request_get_secrets (NMActRequest *self, nm_active_connection_get_user_uid (NM_ACTIVE_CONNECTION (self)), setting_name, flags, - hint, + hints, get_secrets_cb, info, NULL); |