From b6a3cc8199f8cb581c23aaf23fea26005531e55c Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Thu, 28 May 2026 18:35:33 +0200 Subject: [PATCH] MT#61856 call_interfaces: use enum value for `stream_address_format` For comparisons there is a enum, just use it. Change-Id: I1990c76ca393804f19348bfe6f9f2cd1e611443a --- daemon/call_interfaces.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/call_interfaces.c b/daemon/call_interfaces.c index f2492ae52..da6545cb3 100644 --- a/daemon/call_interfaces.c +++ b/daemon/call_interfaces.c @@ -91,7 +91,7 @@ static str streams_print(medias_arr *s, int start, int end, const char *prefix, call_stream_address(o, ps, format, NULL, true); port = ps->selected_sfd ? ps->selected_sfd->socket.local.port : 0; - g_string_append_printf(o, (format == 1) ? "%i " : " %i", port); + g_string_append_printf(o, (format == SAF_UDP) ? "%i " : " %i", port); if (format == SAF_UDP) { af = call_stream_address(o, ps, format, NULL, true);