pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmo-sigtran/+/39390?usp=email )

Change subject: cosmetic: whitespace improvements
......................................................................

cosmetic: whitespace improvements

Add a missing space between 2 params. Clean up a bit positioning of
params in logging lines.

Change-Id: I366944230e698c7805ab977a5205d0978d03998f
---
M src/osmo_ss7_hmrt.c
1 file changed, 5 insertions(+), 8 deletions(-)

Approvals:
  fixeria: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/src/osmo_ss7_hmrt.c b/src/osmo_ss7_hmrt.c
index c256860..5fca2d8 100644
--- a/src/osmo_ss7_hmrt.c
+++ b/src/osmo_ss7_hmrt.c
@@ -246,13 +246,12 @@
                        case OSMO_SS7_ASP_PROT_M3UA:
                                DEBUGP(DLSS7, "rt->dest.as proto is M3UA for 
dpc=%u=%s\n",
                                       dpc, osmo_ss7_pointcode_print(inst, 
dpc));
-                               return m3ua_tx_xua_as(as,xua);
+                               return m3ua_tx_xua_as(as, xua);
                        case OSMO_SS7_ASP_PROT_IPA:
                                return ipa_tx_xua_as(as, xua);
                        default:
-                               LOGP(DLSS7, LOGL_ERROR, "MTP message "
-                                       "for ASP of unknown protocol %u\n",
-                                       as->cfg.proto);
+                               LOGP(DLSS7, LOGL_ERROR, "MTP message for ASP of 
unknown protocol %u\n",
+                                    as->cfg.proto);
                                break;
                        }
                } else if (rt->dest.linkset) {
@@ -262,15 +261,13 @@
                                 * overwritten. */
                                const char *rt_name = osmo_ss7_route_name(rt, 
false);
                                LOGP(DLSS7, LOGL_ERROR,
-                                    "Found route for dpc=%u=%s: %s,"
-                                    " but MTP-TRANSFER.req unsupported for 
linkset.\n",
+                                    "Found route for dpc=%u=%s: %s, but 
MTP-TRANSFER.req unsupported for linkset.\n",
                                     dpc, osmo_ss7_pointcode_print(inst, dpc), 
rt_name);
                        }
                } else
                        OSMO_ASSERT(0);
        } else {
-               LOGP(DLSS7, LOGL_ERROR, "MTP-TRANSFER.req for DPC %u: "
-                       "no route!\n", dpc);
+               LOGP(DLSS7, LOGL_ERROR, "MTP-TRANSFER.req for DPC %u: no 
route!\n", dpc);
                /* DPC unknown HMRT -> MGMT */
                /* Message Received for inaccesible SP HMRT ->RTPC */
                /* Discard Message */

--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/39390?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I366944230e698c7805ab977a5205d0978d03998f
Gerrit-Change-Number: 39390
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to