Module: kamailio
Branch: master
Commit: 6b92933080230f9546c9559aba9ecdfad7759a15
URL: 
https://github.com/kamailio/kamailio/commit/6b92933080230f9546c9559aba9ecdfad7759a15

Author: Bastian Triller <bastian.tril...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2025-07-14T12:58:23+02:00

core: Fix typos

---

Modified: src/core/tcp_conn.h
Modified: src/core/timer.h
Modified: src/core/timer_ticks.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/6b92933080230f9546c9559aba9ecdfad7759a15.diff
Patch: 
https://github.com/kamailio/kamailio/commit/6b92933080230f9546c9559aba9ecdfad7759a15.patch

---

diff --git a/src/core/tcp_conn.h b/src/core/tcp_conn.h
index 1fc3c001f15..8b8c71df8ff 100644
--- a/src/core/tcp_conn.h
+++ b/src/core/tcp_conn.h
@@ -40,7 +40,7 @@
 
 #define TCP_CHILD_TIMEOUT \
        5                                                          /* after 5 
seconds, the child "returns"
-                                                        * the connection to 
the tcp maing process */
+                                                        * the connection to 
the tcp main process */
 #define TCP_MAIN_SELECT_TIMEOUT 5  /* how often "tcp main" checks for timeout*/
 #define TCP_CHILD_SELECT_TIMEOUT 2 /* the same as above but for children */
 
diff --git a/src/core/timer.h b/src/core/timer.h
index b3920163731..73a9d4c48cc 100644
--- a/src/core/timer.h
+++ b/src/core/timer.h
@@ -53,7 +53,7 @@
 #ifdef USE_SLOW_TIMER
 #include <sys/types.h>
 
-typedef unsigned int slow_idx_t; /* type fot the slow index */
+typedef unsigned int slow_idx_t; /* type for the slow index */
 extern pid_t slow_timer_pid;
 #endif
 
diff --git a/src/core/timer_ticks.h b/src/core/timer_ticks.h
index 292b73e71a9..c5e93aee92e 100644
--- a/src/core/timer_ticks.h
+++ b/src/core/timer_ticks.h
@@ -43,7 +43,7 @@
 #define S_TO_TICKS(s) ((s)*TIMER_TICKS_HZ)
 
 
-/** @brief how many s pe per t ticks, integer value */
+/** @brief how many seconds per ticks, integer value */
 #define TICKS_TO_S(t) ((t) / TIMER_TICKS_HZ)
 
 /** @brief how many ms per t ticks, integer value */

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to