Module: kamailio
Branch: master
Commit: c65e0926b26ee9f1cdadb9fbd6f488159275cbea
URL:
https://github.com/kamailio/kamailio/commit/c65e0926b26ee9f1cdadb9fbd6f4881…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-12-16T11:02:57+01:00
rr: fixed warning about unused label in ki_record_route_reset_one()
---
Modified: src/modules/rr/rr_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c65e0926b26ee9f1cdadb9fbd6f4881…
Patch:
https://github.com/kamailio/kamailio/commit/c65e0926b26ee9f1cdadb9fbd6f4881…
---
diff --git a/src/modules/rr/rr_mod.c b/src/modules/rr/rr_mod.c
index fa8345e36c..f61c693cb0 100644
--- a/src/modules/rr/rr_mod.c
+++ b/src/modules/rr/rr_mod.c
@@ -333,10 +333,10 @@ static int ki_record_route_preset_one(sip_msg_t *msg, str *addr1)
return -1;
}
- if ( record_route_preset( msg, addr1)<0 )
+ if ( record_route_preset(msg, addr1)<0 ) {
return -1;
+ }
-done:
msg->msg_flags |= FL_RR_ADDED;
return 1;