Skip to contentSkip to conversation

Fix naming error in sample-plugins/defer/simple.c

PATCH In review Greg Cox 2 participants 2 messages Jan 25, 2021

lore
Share & tools
lore

Greg Cox

author
#0 lore raw

PATCH 1/1 Fix naming error in sample-plugins/defer/simple.c

---
 sample/sample-plugins/defer/simple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sample/sample-plugins/defer/simple.c +1 -1
index b3c2fee48f8d2c10b10a09e8aadc1995e9cf067d..22bc22765d6773d3ea2344a328faf5008b0c5d89 100644
@@ -148,7 +148,7 @@ openvpn_plugin_open_v3(const int v3structver,
     /* Check API compatibility -- struct version 5 or higher needed */
     if (v3structver < 5)
     {
-        fprintf(stderr, "sample-client-connect: this plugin is incompatible with the running version of OpenVPN\n");
+        fprintf(stderr, "%s: this plugin is incompatible with the running version of OpenVPN\n", MODULE);
         return OPENVPN_PLUGIN_FUNC_ERROR;
     }
 
Signature · 1 line
2.7.6
Acked-by on v1 1/1
#1 lore raw

"That's what I get for copy-paste code reuse" :-)

Your patch has been applied to the master, release/2.5 and release/2.4 branch.

commit 2d7e1954cae51ff317de886cc6b6c2daab7b59ea (master) commit fe8739da3135e3d21b657c23f3bddcb7e5b3f9f3 (release/2.5) commit 75a7d795acba972cd8b96dc44a5ba1970373226f (release/2.4)

Author: Greg Cox
Date:   Mon Jan 25 07:15:57 2021 +0000
     Fix naming error in sample-plugins/defer/simple.c

     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg21482.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering