From 39a97e24fb7f5f67813bb4abd99038cd124b9583 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 6 Aug 2010 18:03:11 +0800 Subject: mgcp: Remember if the endpoint was allocated... Do not use the CI_UNUSED to decide if an endpoint is allocated but introduce a new flag. This way only the CRCX and free_endp play with the allocated field. --- openbsc/include/openbsc/mgcp_internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/include/openbsc/mgcp_internal.h') diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h index d7be0a244..12e3ad9b1 100644 --- a/openbsc/include/openbsc/mgcp_internal.h +++ b/openbsc/include/openbsc/mgcp_internal.h @@ -85,6 +85,7 @@ struct mgcp_rtp_tap { }; struct mgcp_endpoint { + int allocated; uint32_t ci; char *callid; char *local_options; -- cgit v1.2.3