Module: kamailio
Branch: master
Commit: 1a2993ca370da35c34abae1cb44086492faa0ade
URL:
https://github.com/kamailio/kamailio/commit/1a2993ca370da35c34abae1cb440864…
Author: S-P Chan <shihping.chan(a)gmail.com>
Committer: S-P Chan <shihping.chan(a)gmail.com>
Date: 2024-02-07T05:54:35+08:00
core/rthreads.h: fix missing return
---
Modified: src/core/rthreads.h
---
Diff:
https://github.com/kamailio/kamailio/commit/1a2993ca370da35c34abae1cb440864…
Patch:
https://github.com/kamailio/kamailio/commit/1a2993ca370da35c34abae1cb440864…
---
diff --git a/src/core/rthreads.h b/src/core/rthreads.h
index 084f463261b..897e6b8d9ed 100644
--- a/src/core/rthreads.h
+++ b/src/core/rthreads.h
@@ -49,7 +49,7 @@ static void *run_threadP(_thread_proto fn, void *arg)
return ret;
#else
- fn(arg);
+ return fn(arg);
#endif /* USE_TLS */
}
#endif