summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/baresip.h2
-rw-r--r--src/ua.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/baresip.h b/include/baresip.h
index a64134a..1c164d9 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -551,7 +551,7 @@ int uag_event_register(ua_event_h *eh, void *arg);
void uag_event_unregister(ua_event_h *eh);
void uag_set_sub_handler(sip_msg_h *subh);
int ua_print_sip_status(struct re_printf *pf, void *unused);
-int uag_set_extra_params(char *eprm);
+int uag_set_extra_params(const char *eprm);
struct ua *uag_find(const struct pl *cuser);
struct ua *uag_find_aor(const char *aor);
struct ua *uag_find_param(const char *name, const char *val);
diff --git a/src/ua.c b/src/ua.c
index 685bb87..dc8073b 100644
--- a/src/ua.c
+++ b/src/ua.c
@@ -1944,7 +1944,7 @@ void ua_set_media_af(struct ua *ua, int af_media)
}
-int uag_set_extra_params(char *eprm)
+int uag_set_extra_params(const char *eprm)
{
uag.eprm = mem_deref(uag.eprm);