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
commit79f3537f69e125f19f59c36aa090120a63186a54 (patch)
tree2089a3b7dac990841dbc2e4d9b2f535b82dbb0af /src/openvpnserv/validate.h
parentf2137fedb30cb87448eb03b2f288920df6187571 (diff)
parent3a2bbdb05ca6a6996e424c9fb225cb0d53804125 (diff)
Merge tag 'upstream/2.4.0'
Upstream version 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 */