agent-manager: fix up bad cherry-pick from 1.0

Fixes: 5d1cac81a0
This commit is contained in:
Lubomir Rintel 2015-10-23 18:54:09 +02:00
parent a5feb44a44
commit 3621c2dd1e

View file

@ -842,7 +842,7 @@ _con_get_request_done (NMSecretAgent *agent,
g_error_free (error);
} else {
/* Tell the failed agent we're no longer interested. */
nm_secret_agent_cancel_secrets (parent->current, parent->current_call_id);
nm_secret_agent_cancel_secrets (req->current, req->current_call_id);
/* Try the next agent */
request_next_agent (req);