]> git.ipfire.org Git - thirdparty/openvpn.git/commit
openvpnserv: Fix some inconsistent usages of TEXT()
authorFrank Lichtenheld <frank@lichtenheld.com>
Mon, 27 Jan 2025 09:11:02 +0000 (10:11 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 27 Jan 2025 09:33:35 +0000 (10:33 +0100)
commit02412106f406538db6f84fdea223b0972a3e3f41
tree2f4b47c09c32267a66b418a5792f156514239bbd
parent2a50daf5fe6c924c8d945b3d0455c9e282cd769f
openvpnserv: Fix some inconsistent usages of TEXT()

In general you can't use multiple strings as argument
to TEXT() since it just adds a L in front of the argument.
So if you specifiy multiple arguments the later argument
strings do not get the L.

This does not seem to directly cause problems with our
ASCII strings, but make the usage consistent with all
the other code. That will help in case we remove the
usage of TEXT().

Also include tapctl/basic.h in openvpnserv to make
the macro environment consistent with tapctl and
openvpnmsica.

Change-Id: Iea477ac96b0dbaee24ca8d097a2e1958f70c5dd3
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Message-Id: <20250127091102.26983-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg30603.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpnserv/CMakeLists.txt
src/openvpnserv/common.c
src/openvpnserv/interactive.c
src/openvpnserv/service.c
src/openvpnserv/service.h