lost: adds HELD (RFC6155) and LOST (RFC5222) queries for location-based routing
authorwkampich <wolfgang.kampichler@gmail.com>
Wed, 14 Aug 2019 18:36:37 +0000 (20:36 +0200)
committerHenning Westerholt <hw@skalatan.de>
Fri, 16 Aug 2019 06:04:03 +0000 (08:04 +0200)
- header comment included

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