Commit 3dcc6c1a authored by David Woodhouse's avatar David Woodhouse

Fix OpenSSL build

Commit 04d713f8 ("Add openconnect_set_loglevel()") changed the name of
the vpninfo argument to the vpn_progress() macro from 'vpninfo' to '_v'
to make it more readable. I missed one usage of it, which still actually
worked everywhere except in the OpenSSL ui_progress() where it *isn't*
being used with a local variable called 'vpninfo'.
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent a3da112d
......@@ -636,7 +636,7 @@ struct openconnect_info {
#define vpn_progress(_v, lvl, ...) do { \
if ((_v)->verbose >= (lvl)) \
(_v)->progress((vpninfo)->cbdata, lvl, __VA_ARGS__); \
(_v)->progress((_v)->cbdata, lvl, __VA_ARGS__); \
} while(0)
#define vpn_perror(vpninfo, msg) vpn_progress((vpninfo), PRG_ERR, "%s: %s\n", (msg), strerror(errno));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment