32d15cc8ba
mgcp_do_write() is the final stage of writing data towards the MGCP server (MGW). In that function, drop an unconditional iteration and copy of the MGCP message to a static string buffer for no apparent reason besides debug logging. Instead, use osmo_escape_str() with a limited length, which can just be an inline format argument in the LOGP() statement. This way, the string mangling is simpler and only gets run when DMGCP is actually on debug log level. Change-Id: Id6877ed7fd7dbe009b2ece8792d5160d040c1aaa |
||
---|---|---|
.. | ||
Makefile.am | ||
mgcp_client.c | ||
mgcp_client_fsm.c | ||
mgcp_client_vty.c |