Module: kamailio
Branch: master
Commit: 97f5f77f2d003a5e32e39aacf8182787a2c83a43
URL: https://github.com/kamailio/kamailio/commit/97f5f77f2d003a5e32e39aacf818278…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)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/97f5f77f2d003a5e32e39aacf818278…
Patch: https://github.com/kamailio/kamailio/commit/97f5f77f2d003a5e32e39aacf818278…
---
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!*/
#### Pre-Submission Checklist
- [X] Commit message has the format required by CONTRIBUTING guide
- [X] Commits are split per component (core, individual modules, libs, utils, ...)
- [X] Each component has a single commit (if not, squash them into one commit)
- [X] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [X] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
This only fixes a typo in one of the examples in the documentation.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2889
-- Commit Summary --
* <a href="https://github.com/kamailio/kamailio/pull/2889/commits/04e5e73a32934868d5cd…">textops: fix broken example for filter_body</a>
-- File Changes --
M src/modules/textops/doc/textops_admin.xml (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2889.patchhttps://github.com/kamailio/kamailio/pull/2889.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2889
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [X] Commit message has the format required by CONTRIBUTING guide
- [X] Commits are split per component (core, individual modules, libs, utils, ...)
- [X] Each component has a single commit (if not, squash them into one commit)
- [X] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [X] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
Remove the 1024 fixed size buffer. Update the cr dump structure.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2887
-- Commit Summary --
* <a href="https://github.com/kamailio/kamailio/pull/2887/commits/136f321c3609b56a4d91…">carrierroute: Update cr dump structure</a>
-- File Changes --
M src/modules/carrierroute/cr_rpc.c (2)
M src/modules/carrierroute/cr_rpc_helper.c (42)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2887.patchhttps://github.com/kamailio/kamailio/pull/2887.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2887