diff options
author | Pavel Roskin <plroskin@gmail.com> | 2016-06-21 16:30:17 -0700 |
---|---|---|
committer | Pavel Roskin <plroskin@gmail.com> | 2016-07-08 04:29:42 +0000 |
commit | aeeb3d2c2e26677758a64db496c86020f99d2f1a (patch) | |
tree | 3337017e28744427743d447d4735c00537783321 /sesman/scp_v1.c | |
parent | a680d46edf747ec17456b6b8e69c95bc4e4407cb (diff) | |
download | xrdp-proprietary-aeeb3d2c2e26677758a64db496c86020f99d2f1a.tar.gz xrdp-proprietary-aeeb3d2c2e26677758a64db496c86020f99d2f1a.zip |
Fix warnings detected by -Wwrite-strings
Diffstat (limited to 'sesman/scp_v1.c')
-rw-r--r-- | sesman/scp_v1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/scp_v1.c b/sesman/scp_v1.c index 92e1dad5..1501606d 100644 --- a/sesman/scp_v1.c +++ b/sesman/scp_v1.c @@ -31,7 +31,7 @@ extern struct config_sesman *g_cfg; /* in sesman.c */ -static void parseCommonStates(enum SCP_SERVER_STATES_E e, char *f); +static void parseCommonStates(enum SCP_SERVER_STATES_E e, const char *f); /******************************************************************************/ void DEFAULT_CC @@ -209,7 +209,7 @@ scp_v1_process(struct SCP_CONNECTION *c, struct SCP_SESSION *s) g_free(slist); } -static void parseCommonStates(enum SCP_SERVER_STATES_E e, char *f) +static void parseCommonStates(enum SCP_SERVER_STATES_E e, const char *f) { switch (e) { |