diff src/endp_create.c @ 43:8cdfef36d9db default tip

twrtp_endp_create: make config argument const This argument is passed through to twrtp_jibuf_create(). We made it const in the latter function, now do the same with the wrapper.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Dec 2024 23:01:06 +0000
parents 781f491f20dd
children
line wrap: on
line diff
--- a/src/endp_create.c	Fri Dec 20 22:47:20 2024 +0000
+++ b/src/endp_create.c	Fri Dec 20 23:01:06 2024 +0000
@@ -39,7 +39,7 @@
 					sizeof(struct rtcp_rr_block) * 31)
 
 struct twrtp_endp *twrtp_endp_create(void *ctx,
-				     struct twrtp_jibuf_config *config)
+				     const struct twrtp_jibuf_config *config)
 {
 	struct twrtp_endp *endp;