From 1274ebe069ada585961eecd1a33a5b680498371d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Sat, 20 Jan 2024 17:09:37 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- src/modules/module-rtp-sap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/module-rtp-sap.c b/src/modules/module-rtp-sap.c index 496e1740f..2bd0a32bf 100644 --- a/src/modules/module-rtp-sap.c +++ b/src/modules/module-rtp-sap.c @@ -385,7 +385,8 @@ static bool is_multicast(struct sockaddr *sa, socklen_t salen) return false; } -static int make_unix_socket(char *path, char *client_path) { +static int make_unix_socket(const char *path, const char *client_path) +{ struct sockaddr_un client_addr, server_addr; spa_autoclose int fd = socket(AF_UNIX, SOCK_DGRAM, 0);