Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix OpenSSL build
Commit 04d713f ("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: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Feb 4, 2015
1 parent a3da112 commit 3dcc6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openconnect-internal.h
Expand Up @@ -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));

Expand Down

0 comments on commit 3dcc6c1

Please sign in to comment.