summaryrefslogtreecommitdiff
path: root/src/openvpnserv/validate.h
diff options
context:
space:
mode:
authorAlberto Gonzalez Iniesta <agi@inittab.org>2016-12-27 18:25:47 +0100
committerAlberto Gonzalez Iniesta <agi@inittab.org>2016-12-27 18:25:47 +0100
commit3a2bbdb05ca6a6996e424c9fb225cb0d53804125 (patch)
treef29063da5bec4caf3853d49a22a09c8619eebd21 /src/openvpnserv/validate.h
parentd53dba59e78da865c4fe820386ff2f4f76925f3b (diff)
New upstream version 2.4.0upstream/2.4.0
Diffstat (limited to 'src/openvpnserv/validate.h')
-rw-r--r--src/openvpnserv/validate.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/openvpnserv/validate.h b/src/openvpnserv/validate.h
index 0d0270a..ece8704 100644
--- a/src/openvpnserv/validate.h
+++ b/src/openvpnserv/validate.h
@@ -34,15 +34,15 @@
/* The last one may be reset in registry: HKLM\Software\OpenVPN\ovpn_admin_group */
BOOL
-IsAuthorizedUser (SID *sid, settings_t *s);
+IsAuthorizedUser(SID *sid, settings_t *s);
BOOL
-CheckOption (const WCHAR *workdir, int narg, WCHAR *argv[], const settings_t *s);
+CheckOption(const WCHAR *workdir, int narg, WCHAR *argv[], const settings_t *s);
static inline BOOL
-IsOption (const WCHAR *o)
+IsOption(const WCHAR *o)
{
- return (wcsncmp (o, L"--", 2) == 0);
+ return (wcsncmp(o, L"--", 2) == 0);
}
-#endif
+#endif /* ifndef VALIDATE_H */