Browse code

core: generalize some comment messages

Henning Westerholt authored on 20/10/2021 13:19:45
Showing 2 changed files
... ...
@@ -138,7 +138,7 @@ typedef int (*param_func_t)( modparam_t type, void* val);
138 138
 	((fixup) ? (fixup)(param, param_no) : 0)
139 139
 
140 140
 /* Macros - used as rank in child_init function */
141
-#define PROC_MAIN      0  /**< Main ser process */
141
+#define PROC_MAIN      0  /**< Main process */
142 142
 #define PROC_TIMER    -1  /**< Timer attendant process */
143 143
 #define PROC_RPC      -2  /**< RPC type process */
144 144
 #define PROC_FIFO      PROC_RPC  /**< FIFO attendant process */
... ...
@@ -3717,9 +3717,9 @@ error:
3717 3717
 
3718 3718
 
3719 3719
 
3720
-/* handles io from a "generic" ser process (get fd or new_fd from a tcp_send)
3720
+/* handles io from a "generic" process (get fd or new_fd from a tcp_send)
3721 3721
  * 
3722
- * params: p     - pointer in the ser processes array (pt[]), to the entry for
3722
+ * params: p     - pointer in the processes array (pt[]), to the entry for
3723 3723
  *                 which an io event was detected
3724 3724
  *         fd_i  - fd index in the fd_array (useful for optimizing
3725 3725
  *                 io_watch_deletes)
... ...
@@ -4636,7 +4636,7 @@ static inline void tcp_timer_run(void)
4636 4636
 
4637 4637
 /* keep in sync with tcpconn_destroy, the "delete" part should be
4638 4638
  * the same except for io_watch_del..
4639
- * Note: this function is called only on shutdown by the main ser process via
4639
+ * Note: this function is called only on shutdown by the main process via
4640 4640
  * cleanup(). However it's also safe to call it from the tcp_main process.
4641 4641
  * => with the ser shutdown exception, it cannot execute in parallel
4642 4642
  * with tcpconn_add() or tcpconn_destroy()*/
... ...
@@ -4750,7 +4750,7 @@ void tcp_main_loop()
4750 4750
 		}
4751 4751
 	}
4752 4752
 #endif
4753
-	/* add all the unix sockets used for communcation with other ser processes
4753
+	/* add all the unix sockets used for communcation with other processes
4754 4754
 	 *  (get fd, new connection a.s.o) */
4755 4755
 	for (r=1; r<process_no; r++){
4756 4756
 		if (pt[r].unix_sock>0) /* we can't have 0, we never close it!*/