[sr-dev] Re: [kamailio/kamailio] http_async_client: exit mod_init if tm is not loaded (PR #3706)

2024-01-11 Thread Henning Westerholt via sr-dev
@dilyanpalauzov You are right, done in the commit above.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3706#issuecomment-1886815392
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] http_async_client: exit mod_init if tm is not loaded (PR #3706)

2024-01-10 Thread Дилян Палаузов via sr-dev
@dilyanpalauzov commented on this pull request.

I think the line above LM_ERROR is bettet than LM_INFO.

> @@ -295,7 +295,7 @@ static int mod_init(void)
 
if(load_tm_api() < 0) {
LM_INFO("cannot load the TM-functions - async relay 
disabled\n");
-   memset(, 0, sizeof(tm_api_t));
+   return -1;

I think the line above LM_ERROR is bettet than LM_INFO.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3706#pullrequestreview-1813978183
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] http_async_client: exit mod_init if tm is not loaded (PR #3706)

2024-01-10 Thread Henning Westerholt via sr-dev
Merged #3706 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3706#event-11440393557
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] http_async_client: exit mod_init if tm is not loaded (PR #3706)

2024-01-10 Thread Henning Westerholt via sr-dev
Thanks for the PR, merged

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3706#issuecomment-1884446598
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org