summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-09-04 15:26:15 +0800
committeryangwei <[email protected]>2024-09-04 15:26:15 +0800
commit5373efdbff046d39648da883ada96a6e0a68a9a5 (patch)
tree52c4e819ecbd2ecbf28757a2836dc47db4a223a3 /test
parent95581a437e9175745b09cce92de5e9a3f063999e (diff)
🦄 refactor(rename plug mgr api): session plug register with hooks
Diffstat (limited to 'test')
-rw-r--r--test/lpi_plugin/gtest_lpi_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lpi_plugin/gtest_lpi_plugin.cpp b/test/lpi_plugin/gtest_lpi_plugin.cpp
index 41478f8..6bbd7f2 100644
--- a/test/lpi_plugin/gtest_lpi_plugin.cpp
+++ b/test/lpi_plugin/gtest_lpi_plugin.cpp
@@ -142,7 +142,7 @@ extern "C" void *gtest_lpi_plugin_load(struct stellar *st)
perror("gtest_lpi_plugin_load:l7_protocol_mapper failed !!!\n");
exit(-1);
}
- env->test_app_plugin_id=stellar_session_plugin_register_with_hook(st, NULL, NULL, NULL, gtest_lpi_on_session_free, env);
+ env->test_app_plugin_id=stellar_session_plugin_register_with_hooks(st, NULL, NULL, NULL, gtest_lpi_on_session_free, env);
if(env->test_app_plugin_id < 0)
{
perror("gtest_lpi_plugin_load:stellar_plugin_register failed !!!\n");