Explorar o código

textops: fixed the kemi export for regex_substring()

Daniel-Constantin Mierla %!s(int64=6) %!d(string=hai) anos
pai
achega
c94207bf3a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/modules/textops/textops.c

+ 1 - 1
src/modules/textops/textops.c

@@ -4856,7 +4856,7 @@ static sr_kemi_t sr_kemi_textops_exports[] = {
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init("textops"), str_init("regex_substring"),
-		SR_KEMIP_INT, regex_substring_f,
+		SR_KEMIP_INT, ki_regex_substring,
 		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_INT,
 			SR_KEMIP_INT, SR_KEMIP_STR, SR_KEMIP_NONE }
 	},