diff options
| author | Michael Biebl <biebl@debian.org> | 2017-11-07 00:15:27 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2017-11-07 00:15:27 +0100 |
| commit | 8254edbf64d60bef0d70eee01490103148dba100 (patch) | |
| tree | 282eb053995da653ee170e910da05d9530d4ff53 /clients/cli/agent.c | |
| parent | 857e5310d1764114da056cd2eb3d88625bb0ba81 (diff) | |
| parent | 90e8691111889a7b5f3c812f5a41f15a8a058913 (diff) | |
Update upstream source from tag 'upstream/1.9.90'
Update to upstream version '1.9.90' with Debian dir 83533c23245795edf9fe4919e4af3e78f2938519
Diffstat (limited to 'clients/cli/agent.c')
| -rw-r--r-- | clients/cli/agent.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clients/cli/agent.c b/clients/cli/agent.c index 23582f49..656a5851 100644 --- a/clients/cli/agent.c +++ b/clients/cli/agent.c @@ -21,6 +21,8 @@ #include "nm-default.h" +#include "agent.h" + #include <stdio.h> #include <stdlib.h> #include <errno.h> @@ -31,7 +33,6 @@ #include "utils.h" #include "nm-secret-agent-simple.h" #include "polkit-agent.h" -#include "agent.h" static void usage (void) @@ -125,7 +126,7 @@ secrets_requested (NMSecretAgentSimple *agent, NmCli *nmc = (NmCli *) user_data; gboolean success = FALSE; - if (nmc->print_output == NMC_PRINT_PRETTY) + if (nmc->nmc_config.print_output == NMC_PRINT_PRETTY) nmc_terminal_erase_line (); success = get_secrets_from_user (request_id, title, msg, secrets); |