Neels Hofmeyr has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/10117 )

Change subject: cosmetic: mgcp_network.c: merge one LOGPC to its preceding LOGP
......................................................................

cosmetic: mgcp_network.c: merge one LOGPC to its preceding LOGP

Change-Id: I4dde8a060ec77e1234a373d7501c7082ae4c5028
---
M src/libosmo-mgcp/mgcp_network.c
1 file changed, 3 insertions(+), 6 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/libosmo-mgcp/mgcp_network.c b/src/libosmo-mgcp/mgcp_network.c
index 870a4de..7d98d07 100644
--- a/src/libosmo-mgcp/mgcp_network.c
+++ b/src/libosmo-mgcp/mgcp_network.c
@@ -680,12 +680,9 @@
        }

        LOGP(DRTP, LOGL_DEBUG,
-            "endpoint:0x%x loop:%d, mode:%d ",
-            ENDPOINT_NUMBER(endp), tcfg->audio_loop, conn_src->conn->mode);
-       if (conn_src->conn->mode == MGCP_CONN_LOOPBACK)
-               LOGPC(DRTP, LOGL_DEBUG, "(loopback)\n");
-       else
-               LOGPC(DRTP, LOGL_DEBUG, "\n");
+            "endpoint:0x%x loop:%d, mode:%d%s\n",
+            ENDPOINT_NUMBER(endp), tcfg->audio_loop, conn_src->conn->mode,
+            conn_src->conn->mode == MGCP_CONN_LOOPBACK ? " (loopback)" : "");

        /* Note: In case of loopback configuration, both, the source and the
         * destination will point to the same connection. */

--
To view, visit https://gerrit.osmocom.org/10117
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I4dde8a060ec77e1234a373d7501c7082ae4c5028
Gerrit-Change-Number: 10117
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>

Reply via email to