summaryrefslogtreecommitdiff
path: root/decoders
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 /decoders
parent95581a437e9175745b09cce92de5e9a3f063999e (diff)
🦄 refactor(rename plug mgr api): session plug register with hooks
Diffstat (limited to 'decoders')
-rw-r--r--decoders/http/http_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/http/http_decoder.c b/decoders/http/http_decoder.c
index 9d22c76..b65599f 100644
--- a/decoders/http/http_decoder.c
+++ b/decoders/http/http_decoder.c
@@ -878,7 +878,7 @@ static void http_decoder_on_session_free(struct session *sess,void *per_session_
goto failed;
}
httpd_env->st = st;
- httpd_env->plugin_id = stellar_session_plugin_register_with_hook(st, httpd_session_ctx_new_cb,
+ httpd_env->plugin_id = stellar_session_plugin_register_with_hooks(st, httpd_session_ctx_new_cb,
httpd_session_ctx_free_cb, NULL,http_decoder_on_session_free,(void *)httpd_env);
if (httpd_env->plugin_id < 0)
{