FS-11676: [mod_lua] fix build error in test

This commit is contained in:
Mike Jerris 2019-02-28 21:26:26 +00:00 committed by Andrey Volk
parent 813771f737
commit adabceca25
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ FST_CORE_BEGIN("conf")
switch_api_execute("lua", "test_json.lua", NULL, &stream);
if (stream.data) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "LUA DATA: %s\n", stream.data);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "LUA DATA: %s\n", (char *)stream.data);
fst_check(strstr(stream.data, "+OK") == stream.data);
free(stream.data);
}