Module: kamailio
Branch: master
Commit: 85cdbe99f173a6f360d6b7300302313a8888ceb9
URL: 
https://github.com/kamailio/kamailio/commit/85cdbe99f173a6f360d6b7300302313a8888ceb9

Author: Victor Seva <[email protected]>
Committer: Victor Seva <[email protected]>
Date: 2026-01-26T18:22:28+01:00

kamcmd: fix missing declaration of _kamcmd_read_timeout

introduced at 857fe0152ff821a41e1809e0a1c8b656650a8e1b

---

Modified: utils/kamcmd/kamcmd.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/85cdbe99f173a6f360d6b7300302313a8888ceb9.diff
Patch: 
https://github.com/kamailio/kamailio/commit/85cdbe99f173a6f360d6b7300302313a8888ceb9.patch

---

diff --git a/utils/kamcmd/kamcmd.c b/utils/kamcmd/kamcmd.c
index bff51284391..601805aafe2 100644
--- a/utils/kamcmd/kamcmd.c
+++ b/utils/kamcmd/kamcmd.c
@@ -135,7 +135,7 @@ struct sockaddr_un mysun;
 int quit; /* used only in interactive mode */
 
 int _kamcmd_rpc_type = KAMCMD_BINRPC;
-
+int _kamcmd_read_timeout = 2;
 struct binrpc_val *rpc_array;
 int rpc_no = 0;
 
@@ -143,7 +143,6 @@ int rpc_no = 0;
 
 struct binrpc_val *cfg_vars_array;
 int cfg_vars_no;
-int _kamcmd_read_timeout = 2;
 
 struct cfg_var_grp
 {

_______________________________________________
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