lost: adds HELD (RFC6155) and LOST (RFC5222) queries for location-based routing
[sip-router] / src / modules / lost / utilities.c
index 78fb45c..5b6afe8 100644 (file)
@@ -95,7 +95,7 @@ void lost_rand_str(char *dest, size_t lgth)
 \r
 /*\r
  * lost_free_loc(ptr)\r
- * freess a location object\r
+ * frees a location object\r
  */\r
 void lost_free_loc(p_loc_t ptr)\r
 {\r
@@ -106,6 +106,10 @@ void lost_free_loc(p_loc_t ptr)
        pkg_free(ptr);\r
 }\r
 \r
+/*\r
+ * lost_free_string(ptr)\r
+ * frees and resets a string\r
+ */\r
 void lost_free_string(str *string)\r
 {\r
        str ptr = *string;\r