diff cli-authpubkey.c @ 547:cf376c696dfc agent-client

Make it compile, update for changes in channel structure.
author Matt Johnston <matt@ucc.asn.au>
date Wed, 01 Jul 2009 04:53:17 +0000
parents 568638be7203
children 61c3513825b0
line wrap: on
line diff
--- a/cli-authpubkey.c	Wed Jul 01 04:16:32 2009 +0000
+++ b/cli-authpubkey.c	Wed Jul 01 04:53:17 2009 +0000
@@ -174,11 +174,11 @@
 
 	TRACE(("enter cli_auth_pubkey"))
 
-	if (cli_opts.pubkeys == NULL && 
+	if (cli_opts.privkeys == NULL && 
 			cli_opts.agent_fwd &&
 			!cli_opts.agent_keys_loaded) {
 		/* get the list of available keys from the agent */
-		load_agent_keys(&cli_opts.pubkeys);
+		load_agent_keys(&cli_opts.privkeys);
 	}
 
 	if (cli_opts.privkeys != NULL) {