comparison cli-authinteract.c @ 1927:dc615fdb7c06

Fix declaration after statement Caught by just-added c89 build
author Matt Johnston <matt@ucc.asn.au>
date Wed, 30 Mar 2022 14:32:49 +0800
parents df8d8ec1801c
children
comparison
equal deleted inserted replaced
1926:e356093a6812 1927:dc615fdb7c06
112 fprintf(stderr, "%s", instruction); 112 fprintf(stderr, "%s", instruction);
113 } 113 }
114 m_free(instruction); 114 m_free(instruction);
115 115
116 for (i = 0; i < num_prompts; i++) { 116 for (i = 0; i < num_prompts; i++) {
117 unsigned int response_len = 0;
117 cli_ses.is_trivial_auth = 0; 118 cli_ses.is_trivial_auth = 0;
118 unsigned int response_len = 0;
119 prompt = buf_getstring(ses.payload, NULL); 119 prompt = buf_getstring(ses.payload, NULL);
120 cleantext(prompt); 120 cleantext(prompt);
121 121
122 echo = buf_getbool(ses.payload); 122 echo = buf_getbool(ses.payload);
123 123