Module: kamailio
Branch: 5.8
Commit: f4d44a9201a79acf0620a005008f2594ff8d26ee
URL:
https://github.com/kamailio/kamailio/commit/f4d44a9201a79acf0620a005008f259…
Author: Xenofon Karamanos <22965395+xkaraman(a)users.noreply.github.com>
Committer: Xenofon Karamanos <22965395+xkaraman(a)users.noreply.github.com>
Date: 2024-03-28T16:05:14Z
tls: Fix ������for������ loop initial declarations error
(cherry picked from commit 9f2abc69e27c4b3246628138ec81fced81d7bc7a)
---
Modified: src/modules/tls/tls_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f4d44a9201a79acf0620a005008f259…
Patch:
https://github.com/kamailio/kamailio/commit/f4d44a9201a79acf0620a005008f259…
---
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);
}