[sr-dev] git:master:31866942: lost: adds HELD (RFC6155) and LOST (RFC5222) queries for location-based routing

Henning Westerholt hw at skalatan.de
Fri Aug 16 08:04:13 CEST 2019


Module: kamailio
Branch: master
Commit: 318669423164b7c96e48861fd49de17d34e957ab
URL: https://github.com/kamailio/kamailio/commit/318669423164b7c96e48861fd49de17d34e957ab

Author: wkampich <wolfgang.kampichler at gmail.com>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-08-16T08:04:03+02:00

lost: adds HELD (RFC6155) and LOST (RFC5222) queries for location-based routing

- header comment included

---

Modified: src/modules/lost/utilities.c

---

Diff:  https://github.com/kamailio/kamailio/commit/318669423164b7c96e48861fd49de17d34e957ab.diff
Patch: https://github.com/kamailio/kamailio/commit/318669423164b7c96e48861fd49de17d34e957ab.patch

---

diff --git a/src/modules/lost/utilities.c b/src/modules/lost/utilities.c
index 78fb45caab..5b6afe8b39 100644
--- a/src/modules/lost/utilities.c
+++ b/src/modules/lost/utilities.c
@@ -95,7 +95,7 @@ void lost_rand_str(char *dest, size_t lgth)
 
 /*
  * lost_free_loc(ptr)
- * freess a location object
+ * frees a location object
  */
 void lost_free_loc(p_loc_t ptr)
 {
@@ -106,6 +106,10 @@ void lost_free_loc(p_loc_t ptr)
 	pkg_free(ptr);
 }
 
+/*
+ * lost_free_string(ptr)
+ * frees and resets a string
+ */
 void lost_free_string(str *string)
 {
 	str ptr = *string;




More information about the sr-dev mailing list