Module: kamailio Branch: master Commit: 97f5f77f2d003a5e32e39aacf8182787a2c83a43 URL: https://github.com/kamailio/kamailio/commit/97f5f77f2d003a5e32e39aacf8182787...
Author: Henning Westerholt hw@skalatan.de Committer: Henning Westerholt hw@skalatan.de Date: 2021-10-20T13:20:37Z
core: generalize some comment messages
---
Modified: src/core/sr_module.h Modified: src/core/tcp_main.c
---
Diff: https://github.com/kamailio/kamailio/commit/97f5f77f2d003a5e32e39aacf8182787... Patch: https://github.com/kamailio/kamailio/commit/97f5f77f2d003a5e32e39aacf8182787...
---
diff --git a/src/core/sr_module.h b/src/core/sr_module.h index 99c1dc1de1..c9c482dfc1 100644 --- a/src/core/sr_module.h +++ b/src/core/sr_module.h @@ -138,7 +138,7 @@ typedef int (*param_func_t)( modparam_t type, void* val); ((fixup) ? (fixup)(param, param_no) : 0)
/* Macros - used as rank in child_init function */ -#define PROC_MAIN 0 /**< Main ser process */ +#define PROC_MAIN 0 /**< Main process */ #define PROC_TIMER -1 /**< Timer attendant process */ #define PROC_RPC -2 /**< RPC type process */ #define PROC_FIFO PROC_RPC /**< FIFO attendant process */ diff --git a/src/core/tcp_main.c b/src/core/tcp_main.c index 3b46026027..f8ff8dea45 100644 --- a/src/core/tcp_main.c +++ b/src/core/tcp_main.c @@ -3717,9 +3717,9 @@ inline static int handle_tcp_child(struct tcp_child* tcp_c, int fd_i)
-/* handles io from a "generic" ser process (get fd or new_fd from a tcp_send) +/* handles io from a "generic" process (get fd or new_fd from a tcp_send) * - * params: p - pointer in the ser processes array (pt[]), to the entry for + * params: p - pointer in the processes array (pt[]), to the entry for * which an io event was detected * fd_i - fd index in the fd_array (useful for optimizing * io_watch_deletes) @@ -4636,7 +4636,7 @@ static inline void tcp_timer_run(void)
/* keep in sync with tcpconn_destroy, the "delete" part should be * the same except for io_watch_del.. - * Note: this function is called only on shutdown by the main ser process via + * Note: this function is called only on shutdown by the main process via * cleanup(). However it's also safe to call it from the tcp_main process. * => with the ser shutdown exception, it cannot execute in parallel * with tcpconn_add() or tcpconn_destroy()*/ @@ -4750,7 +4750,7 @@ void tcp_main_loop() } } #endif - /* add all the unix sockets used for communcation with other ser processes + /* add all the unix sockets used for communcation with other processes * (get fd, new connection a.s.o) */ for (r=1; r<process_no; r++){ if (pt[r].unix_sock>0) /* we can't have 0, we never close it!*/