From e3dc498e01a2a0d03e36f147c0aa3e5b69f3c738 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Tue, 26 Jul 2016 19:39:43 +0200 Subject: [PATCH] debug log: fix line endings for abis_rsl_rx_rll logging This function outputs a debug log without line ending, which should be completed by a subsequent DEBUGPC(), so complete the started log line where missing in three of the switch cases. The three cases do print another log message, but since these don't start on a new line when RLL is in debug level, the log output for these is hard(er) to read without this patch. Change-Id: I355647e77e1b2d8e75ae1a167fe87a507a38d82d --- openbsc/src/libbsc/abis_rsl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c index a0faf25d6..6ddb08880 100644 --- a/openbsc/src/libbsc/abis_rsl.c +++ b/openbsc/src/libbsc/abis_rsl.c @@ -1773,13 +1773,16 @@ static int abis_rsl_rx_rll(struct msgb *msg) rsl_handle_release(msg->lchan); break; case RSL_MT_ERROR_IND: + DEBUGPC(DRLL, "ERROR INDICATION\n"); rc = rsl_rx_rll_err_ind(msg); break; case RSL_MT_UNIT_DATA_IND: + DEBUGPC(DRLL, "UNIT DATA INDICATION\n"); LOGP(DRLL, LOGL_NOTICE, "unimplemented Abis RLL message " "type 0x%02x\n", rllh->c.msg_type); break; default: + DEBUGPC(DRLL, "UNKNOWN\n"); LOGP(DRLL, LOGL_NOTICE, "unknown Abis RLL message " "type 0x%02x\n", rllh->c.msg_type); }