diff options
Diffstat (limited to 'neutrinordp')
-rw-r--r-- | neutrinordp/xrdp-neutrinordp.c | 2 | ||||
-rw-r--r-- | neutrinordp/xrdp-neutrinordp.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/neutrinordp/xrdp-neutrinordp.c b/neutrinordp/xrdp-neutrinordp.c index b463f8a8..8290b049 100644 --- a/neutrinordp/xrdp-neutrinordp.c +++ b/neutrinordp/xrdp-neutrinordp.c @@ -428,7 +428,7 @@ lxrdp_end(struct mod *mod) /******************************************************************************/ /* return error */ static int DEFAULT_CC -lxrdp_set_param(struct mod *mod, char *name, char *value) +lxrdp_set_param(struct mod *mod, const char *name, char *value) { rdpSettings *settings; diff --git a/neutrinordp/xrdp-neutrinordp.h b/neutrinordp/xrdp-neutrinordp.h index 4e0f5d10..79bb460d 100644 --- a/neutrinordp/xrdp-neutrinordp.h +++ b/neutrinordp/xrdp-neutrinordp.h @@ -71,7 +71,7 @@ struct mod long param3, long param4); int (*mod_signal)(struct mod *v); int (*mod_end)(struct mod *v); - int (*mod_set_param)(struct mod *v, char *name, char *value); + int (*mod_set_param)(struct mod *v, const char *name, char *value); int (*mod_session_change)(struct mod *v, int, int); int (*mod_get_wait_objs)(struct mod *v, tbus *read_objs, int *rcount, tbus *write_objs, int *wcount, int *timeout); @@ -114,7 +114,7 @@ struct mod int (*server_query_channel)(struct mod *v, int index, char *channel_name, int *channel_flags); - int (*server_get_channel_id)(struct mod *v, char *name); + int (*server_get_channel_id)(struct mod *v, const char *name); int (*server_send_to_channel)(struct mod *v, int channel_id, char *data, int data_len, int total_data_len, int flags); |