Module: kamailio
Branch: master
Commit: 9f2abc69e27c4b3246628138ec81fced81d7bc7a
URL:
https://github.com/kamailio/kamailio/commit/9f2abc69e27c4b3246628138ec81fce…
Author: Xenofon Karamanos <22965395+xkaraman(a)users.noreply.github.com>
Committer: Xenofon Karamanos <22965395+xkaraman(a)users.noreply.github.com>
Date: 2024-03-27T18:08:20+02:00
tls: Fix ������for������ loop initial declarations error
---
Modified: src/modules/tls/tls_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/9f2abc69e27c4b3246628138ec81fce…
Patch:
https://github.com/kamailio/kamailio/commit/9f2abc69e27c4b3246628138ec81fce…
---
diff --git a/src/modules/tls/tls_mod.c b/src/modules/tls/tls_mod.c
index b4a2afb7818..83b86d99d58 100644
--- a/src/modules/tls/tls_mod.c
+++ b/src/modules/tls/tls_mod.c
@@ -345,7 +345,8 @@ static tls_domains_cfg_t* tls_use_modparams(void)
*/
static void fork_child(void)
{
- for(int k = 0; k < 16; k++) {
+ int k = 0;
+ for(k = 0; k < 16; k++) {
if(pthread_getspecific(k) != 0)
pthread_setspecific(k, 0x0);
}