]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
networking: fix doc for net_iface_new() API
authorAntonio Quartulli <a@unstable.cc>
Tue, 5 Jul 2022 09:18:42 +0000 (11:18 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 5 Jul 2022 20:28:59 +0000 (22:28 +0200)
Some auto correction must have sneaked in.
Restore proper wording.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Heiko Hund <heiko@ist.eigentlich.net>
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 <gert@greenie.muc.de>
src/openvpn/networking.h

index 647718e090409554da4c8d103b4a0f468bb038dd..7996375631adde7c23bf790b29861e301a062770 100644 (file)
@@ -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);