Re: [Openvpn-devel] [PATCH] networking: fix doc for net_iface_new() API

2022-07-05 Thread Heiko Hund
On Dienstag, 5. Juli 2022 11:18:42 CEST Antonio Quartulli wrote:
> Some auto correction must have sneaked in.
> Restore proper wording.
> 
> Signed-off-by: Antonio Quartulli 
> ---
>  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 647718e0..79963756 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);

Acked-by: Heiko Hund 





___
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel


[Openvpn-devel] [PATCH] networking: fix doc for net_iface_new() API

2022-07-05 Thread Antonio Quartulli
Some auto correction must have sneaked in.
Restore proper wording.

Signed-off-by: Antonio Quartulli 
---
 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 647718e0..79963756 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.35.1



___
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel