diff options
Diffstat (limited to 'platform/src/proxy.cpp')
| -rw-r--r-- | platform/src/proxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/src/proxy.cpp b/platform/src/proxy.cpp index ddfe5c4..746ba29 100644 --- a/platform/src/proxy.cpp +++ b/platform/src/proxy.cpp @@ -272,7 +272,7 @@ static void __signal_handler_cb(evutil_socket_t fd, short what, void * arg) TFE_LOG_ERROR(ctx->logger, "recv SIGHUP, reload zlog.conf"); MESA_handle_runtime_log_reconstruction(NULL); MESA_load_profile_int_def(profile_path, "maat", "log_level", &(log_level), LOG_LEVEL_FATAL); - maat = (struct maat *)tfe_bussiness_resouce_get(STATIC_MAAT); + maat = tfe_get_maat_handle(); if(maat) { maat_reload_log_level(maat, (enum log_level)log_level); @@ -688,7 +688,7 @@ int main(int argc, char * argv[]) CHECK_OR_EXIT(g_default_proxy->key_keeper_handler, "Failed at init Key keeper. Exit."); /* RESOURCE INIT */ - ret = tfe_bussiness_resouce_init(); + ret = tfe_env_init(); CHECK_OR_EXIT(ret == 0, "TFE bussiness resource init failed. Exit."); /* SSL INIT */ |
