diff options
author | Pavel Roskin <plroskin@gmail.com> | 2016-10-16 23:14:06 -0700 |
---|---|---|
committer | Pavel Roskin <plroskin@gmail.com> | 2016-10-17 08:54:07 -0700 |
commit | 6fef1e4eb53877d41f52f2b4d93ea11eb680b6b3 (patch) | |
tree | 6d1c34a0f0b598b802af3fdcf31c40d0ad1b64c4 /sesman/access.c | |
parent | bc868b96b1a88085cf141428ef8c72f5cd496c2e (diff) | |
download | xrdp-proprietary-6fef1e4eb53877d41f52f2b4d93ea11eb680b6b3.tar.gz xrdp-proprietary-6fef1e4eb53877d41f52f2b4d93ea11eb680b6b3.zip |
Use const pointers in function arguments when possible
Diffstat (limited to 'sesman/access.c')
-rw-r--r-- | sesman/access.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/access.c b/sesman/access.c index b50f2caa..071c0ec3 100644 --- a/sesman/access.c +++ b/sesman/access.c @@ -30,7 +30,7 @@ extern struct config_sesman *g_cfg; /* in sesman.c */ /******************************************************************************/ int DEFAULT_CC -access_login_allowed(char *user) +access_login_allowed(const char *user) { int gid; int ok; @@ -79,7 +79,7 @@ access_login_allowed(char *user) /******************************************************************************/ int DEFAULT_CC -access_login_mng_allowed(char *user) +access_login_mng_allowed(const char *user) { int gid; int ok; |