From d5315a5d7400a26f1113bbc44766d49dd0c3688f Mon Sep 17 00:00:00 2001
From: Antonio Quartulli
Date: Tue, 5 Jul 2022 11:18:42 +0200
Subject: [PATCH] networking: fix doc for net_iface_new() API
Some auto correction must have sneaked in.
Restore proper wording.
Signed-off-by: Antonio Quartulli
Acked-by: Heiko Hund
Message-Id: <20220705091842.24053-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24636.html
Signed-off-by: Gert Doering
---
src/openvpn/networking.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/openvpn/networking.h b/src/openvpn/networking.h
index 647718e09..799637563 100644
--- a/src/openvpn/networking.h
+++ b/src/openvpn/networking.h
@@ -94,7 +94,8 @@ void net_ctx_free(openvpn_net_ctx_t *ctx);
* @param iface interface to create
* @param type string describing interface type
* @param arg extra data required by the specific type
- * @return int 0 on success, negative error code on error
+ *
+ * @return 0 on success, negative error code on error
*/
int net_iface_new(openvpn_net_ctx_t *ctx, const openvpn_net_iface_t *iface,
const char *type, void *arg);
--
2.47.2