]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Mixing wide and regular strings in concatenations is not allowed in MSVC.
authorSimon Rozman <simon@rozman.si>
Tue, 10 Oct 2017 23:11:19 +0000 (01:11 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 11 Oct 2017 17:02:23 +0000 (19:02 +0200)
Acked-by: Selva Nair <selva.nair@gmail.com>
Message-Id: <20171010231130.6832-2-simon@rozman.si>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15579.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit d6e0917922793315b06aba395ed0666e17c5b44c)

src/openvpnserv/interactive.c

index 0809fdd127a8bd15fe035ddb9b33581a5530e8d7..823b25beb1a2c6134f95bb6fa89212cb3f61e07d 100644 (file)
@@ -370,12 +370,12 @@ ValidateOptions(HANDLE pipe, const WCHAR *workdir, const WCHAR *options)
     BOOL ret = FALSE;
     int i;
     const WCHAR *msg1 = L"You have specified a config file location (%s relative to %s)"
-                        " that requires admin approval. This error may be avoided"
-                        " by adding your account to the \"%s\" group";
+                        L" that requires admin approval. This error may be avoided"
+                        L" by adding your account to the \"%s\" group";
 
     const WCHAR *msg2 = L"You have specified an option (%s) that may be used"
-                        " only with admin approval. This error may be avoided"
-                        " by adding your account to the \"%s\" group";
+                        L" only with admin approval. This error may be avoided"
+                        L" by adding your account to the \"%s\" group";
 
     argv = CommandLineToArgvW(options, &argc);