Преглед изворни кода

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.
Samuel пре 7 година
родитељ
комит
74c0dc87e1
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/modules/xhttp/xhttp_mod.c

+ 2 - 2
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 }
 	},