[sr-dev] git:master:10b014b5: lcr: small white-space (related to GH #2859)

Henning Westerholt hw at skalatan.de
Mon Sep 20 20:15:14 CEST 2021


Module: kamailio
Branch: master
Commit: 10b014b505080a918a8443ff83029a0155364661
URL: https://github.com/kamailio/kamailio/commit/10b014b505080a918a8443ff83029a0155364661

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2021-09-20T18:14:35Z

lcr: small white-space (related to GH #2859)

---

Modified: src/modules/lcr/lcr_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/10b014b505080a918a8443ff83029a0155364661.diff
Patch: https://github.com/kamailio/kamailio/commit/10b014b505080a918a8443ff83029a0155364661.patch

---

diff --git a/src/modules/lcr/lcr_mod.c b/src/modules/lcr/lcr_mod.c
index 23b5bce0dc..93c5181600 100644
--- a/src/modules/lcr/lcr_mod.c
+++ b/src/modules/lcr/lcr_mod.c
@@ -3034,8 +3034,7 @@ static int do_from_gw(struct sip_msg *_m, unsigned int lcr_id,
 	}
 
 	/* Store tag and flags and return result */
-	if((res != NULL)
-					&& ((transport == PROTO_NONE) || (res->transport_code == transport))) {
+	if((res != NULL) && ((transport == PROTO_NONE) || (res->transport_code == transport))) {
 		LM_DBG("request came from gw\n");
 		if(tag_avp_param) {
 			val.s.s = res->tag;




More information about the sr-dev mailing list