summaryrefslogtreecommitdiffstats
path: root/sesman/verify_user_pam.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-10-16 23:14:06 -0700
committerPavel Roskin <plroskin@gmail.com>2016-10-17 08:54:07 -0700
commit6fef1e4eb53877d41f52f2b4d93ea11eb680b6b3 (patch)
tree6d1c34a0f0b598b802af3fdcf31c40d0ad1b64c4 /sesman/verify_user_pam.c
parentbc868b96b1a88085cf141428ef8c72f5cd496c2e (diff)
downloadxrdp-proprietary-6fef1e4eb53877d41f52f2b4d93ea11eb680b6b3.tar.gz
xrdp-proprietary-6fef1e4eb53877d41f52f2b4d93ea11eb680b6b3.zip
Use const pointers in function arguments when possible
Diffstat (limited to 'sesman/verify_user_pam.c')
-rw-r--r--sesman/verify_user_pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/verify_user_pam.c b/sesman/verify_user_pam.c
index 43783211..73e0b63f 100644
--- a/sesman/verify_user_pam.c
+++ b/sesman/verify_user_pam.c
@@ -102,7 +102,7 @@ get_service_name(char *service_name)
Stores the detailed error code in the errorcode variable*/
long DEFAULT_CC
-auth_userpass(char *user, char *pass, int *errorcode)
+auth_userpass(const char *user, const char *pass, int *errorcode)
{
int error;
struct t_auth_info *auth_info;