Browse Source

MT#55283 update return type

Change-Id: I76f16c3a04b1276ca04d25ea4a09f6f115f31d4b
pull/2018/head
Richard Fuchs 2 months ago
parent
commit
78c2e1e157
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      daemon/call.c

+ 4
- 4
daemon/call.c View File

@ -965,16 +965,16 @@ static void __assign_stream_fds(struct call_media *media, sfd_intf_list_q *intf_
ice_restart(media->ice_agent);
}
static int __wildcard_endpoint_map(struct call_media *media, unsigned int num_ports) {
static bool __wildcard_endpoint_map(struct call_media *media, unsigned int num_ports) {
struct endpoint_map *em;
em = __get_endpoint_map(media, num_ports, NULL, NULL, false);
if (!em)
return -1;
return false;
__assign_stream_fds(media, &em->intf_sfds);
return 0;
return true;
}
static void __rtp_stats_free(struct rtp_stats *p) {
@ -3950,7 +3950,7 @@ int monologue_offer_answer(struct call_monologue *monologues[2], sdp_streams_q *
/* new streams created on OTHER side. normally only happens in
* initial offer. create a wildcard endpoint_map to be filled in
* when the answer comes. */
if (__wildcard_endpoint_map(sender_media, num_ports_other))
if (!__wildcard_endpoint_map(sender_media, num_ports_other))
goto error_ports;
}


Loading…
Cancel
Save