[sr-dev] git:master:74c0dc87: xhttp: updating name of function and parameter type

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 27 08:29:18 CET 2017


Module: kamailio
Branch: master
Commit: 74c0dc87e1cfc4f25ac5ebae3f4ad9317ed8ca9e
URL: https://github.com/kamailio/kamailio/commit/74c0dc87e1cfc4f25ac5ebae3f4ad9317ed8ca9e

Author: Samuel <samuel_is_kewl at hotmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-11-27T08:29:08+01:00

xhttp: updating name of function and parameter type

- Updating the name to reflect the original name. Mismatch between export and function declaration with regards to the type of parameters.

---

Modified: src/modules/xhttp/xhttp_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/74c0dc87e1cfc4f25ac5ebae3f4ad9317ed8ca9e.diff
Patch: https://github.com/kamailio/kamailio/commit/74c0dc87e1cfc4f25ac5ebae3f4ad9317ed8ca9e.patch

---

diff --git a/src/modules/xhttp/xhttp_mod.c b/src/modules/xhttp/xhttp_mod.c
index 8a542bfc8b..f62013cd90 100644
--- a/src/modules/xhttp/xhttp_mod.c
+++ b/src/modules/xhttp/xhttp_mod.c
@@ -551,9 +551,9 @@ int bind_xhttp(xhttp_api_t* api)
  */
 /* clang-format off */
 static sr_kemi_t sr_kemi_xhttp_exports[] = {
-	{ str_init("xhttp"), str_init("reply"),
+	{ str_init("xhttp"), str_init("xhttp_reply"),
 		SR_KEMIP_INT, xhttp_send_reply,
-		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_STR,
+		{ SR_KEMIP_INT, SR_KEMIP_STR, SR_KEMIP_STR,
 			SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 




More information about the sr-dev mailing list