Module: kamailio
Branch: master
Commit: 48d8241ffb55938ec4655303034031975508e792
URL: 
https://github.com/kamailio/kamailio/commit/48d8241ffb55938ec4655303034031975508e792

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2026-06-26T11:44:03+02:00

tsilo: return from mod init even when sttistics not defined

---

Modified: src/modules/tsilo/tsilo.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/48d8241ffb55938ec4655303034031975508e792.diff
Patch: 
https://github.com/kamailio/kamailio/commit/48d8241ffb55938ec4655303034031975508e792.patch

---

diff --git a/src/modules/tsilo/tsilo.c b/src/modules/tsilo/tsilo.c
index 4e3c3501359..44440ff9d6d 100644
--- a/src/modules/tsilo/tsilo.c
+++ b/src/modules/tsilo/tsilo.c
@@ -195,8 +195,8 @@ static int mod_init(void)
                LM_ERR("failed to register core statistics\n");
                return -1;
        }
-       return 0;
 #endif
+       return 0;
 }
 
 /**

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to