Skip to content

Commit

Permalink
http_async_client: use literal module name for stats group
Browse files Browse the repository at this point in the history
- prevent conflicts with global exports
  • Loading branch information
miconda committed Nov 23, 2023
1 parent d434270 commit 40dd9f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/http_async_client/http_async_client_mod.c
Expand Up @@ -232,7 +232,7 @@ static int mod_init(void)

#ifdef STATISTICS
/* register statistics */
if(register_module_stats(exports.name, mod_stats) != 0) {
if(register_module_stats("http_async_client", mod_stats) != 0) {
LM_ERR("failed to register core statistics\n");
return -1;
}
Expand Down

0 comments on commit 40dd9f4

Please sign in to comment.