aboutsummaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-08-10 19:29:00 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-08-10 19:29:00 +0000
commit6383b362039f1dffe380903f571c275576cb38d3 (patch)
treed797b46f9bb6cac6e994e057e8f28aca460d10e6 /options.c
parentTagged security fix in 2.1-rc9 as CVE-2008-3459. (diff)
downloadopenvpn-6383b362039f1dffe380903f571c275576cb38d3.tar.xz
Fixed build issue with ./configure --disable-socks --disable-http.
Fixed separate compile errors in options.c and ntlm.c that occur on strict C compilers (such as old versions of gcc) that require that C variable declarations occur at the start of a {} block, not in the middle. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3219 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.c b/options.c
index ccbbffa..69f3731 100644
--- a/options.c
+++ b/options.c
@@ -3249,9 +3249,9 @@ add_option (struct options *options,
struct env_set *es)
{
struct gc_arena gc = gc_new ();
- ASSERT (MAX_PARMS >= 5);
const bool pull_mode = BOOL_CAST (permission_mask & OPT_P_PULL_MODE);
+ ASSERT (MAX_PARMS >= 5);
if (!file)
{
file = "[CMD-LINE]";