From 1876ccd012e9e2ca6f8e1cd9e7e9bb4bf24ccecb Mon Sep 17 00:00:00 2001 From: Adriaan de Jong Date: Thu, 7 Jul 2011 09:21:03 +0200 Subject: Fixes for the plugin system: - Removed the dependency on an SSL library for USE_SSL when creating non-SSL plugins - Fixed example plugin code to include USE_SSL when needed Signed-off-by: Adriaan de Jong Acked-by: James Yonan Signed-off-by: David Sommerseth --- init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.c') diff --git a/init.c b/init.c index 6fc1a6b..82c1000 100644 --- a/init.c +++ b/init.c @@ -1337,7 +1337,7 @@ do_route (const struct options *options, if (plugin_defined (plugins, OPENVPN_PLUGIN_ROUTE_UP)) { - if (plugin_call (plugins, OPENVPN_PLUGIN_ROUTE_UP, NULL, NULL, es, -1, NULL) != OPENVPN_PLUGIN_FUNC_SUCCESS) + if (plugin_call (plugins, OPENVPN_PLUGIN_ROUTE_UP, NULL, NULL, es) != OPENVPN_PLUGIN_FUNC_SUCCESS) msg (M_WARN, "WARNING: route-up plugin call failed"); } -- cgit