session CHANGE client capabilities are not longer const
diff --git a/src/session.c b/src/session.c
index 3ab38e9..ceb35da 100644
--- a/src/session.c
+++ b/src/session.c
@@ -935,7 +935,7 @@
}
static int
-parse_cpblts(struct lyxml_elem *xml, const char ***list)
+parse_cpblts(struct lyxml_elem *xml, char ***list)
{
struct lyxml_elem *cpblt;
int ver = -1, i = 0;
diff --git a/src/session_p.h b/src/session_p.h
index 053d0d9..8837e34 100644
--- a/src/session_p.h
+++ b/src/session_p.h
@@ -358,7 +358,7 @@
struct {
/* client side only data */
uint64_t msgid;
- const char **cpblts; /**< list of server's capabilities on client side */
+ char **cpblts; /**< list of server's capabilities on client side */
struct nc_msg_cont *replies; /**< queue for RPC replies received instead of notifications */
struct nc_msg_cont *notifs; /**< queue for notifications received instead of RPC reply */
volatile pthread_t *ntf_tid; /**< running notifications receiving thread */