Skip to content

Commit 0174471

Browse files
cosmo0920edsiper
authored andcommitted
wasm: Follow the signature change
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent c496901 commit 0174471

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wasm/flb_wasm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ char *flb_wasm_call_function_format_json(struct flb_wasm *fw, const char *functi
264264
fw->record_buffer, record_len};
265265
size_t args_size = sizeof(func_args) / sizeof(uint32_t);
266266

267-
if (!(func = wasm_runtime_lookup_function(fw->module_inst, function_name, NULL))) {
267+
if (!(func = wasm_runtime_lookup_function(fw->module_inst, function_name))) {
268268
flb_error("The %s wasm function is not found.", function_name);
269269
return NULL;
270270
}
@@ -345,7 +345,7 @@ char *flb_wasm_call_function_format_msgpack(struct flb_wasm *fw, const char *fun
345345
fw->record_buffer, records_len};
346346
size_t args_size = sizeof(func_args) / sizeof(uint32_t);
347347

348-
if (!(func = wasm_runtime_lookup_function(fw->module_inst, function_name, NULL))) {
348+
if (!(func = wasm_runtime_lookup_function(fw->module_inst, function_name))) {
349349
flb_error("The %s wasm function is not found.", function_name);
350350
return NULL;
351351
}

0 commit comments

Comments
 (0)