Module: kamailio Branch: master Commit: da0178673f9a47600329fff2c3105e0fbfbd78f7 URL: https://github.com/kamailio/kamailio/commit/da0178673f9a47600329fff2c3105e0f...
Author: Henning Westerholt hw@gilawa.com Committer: Henning Westerholt hw@gilawa.com Date: 2022-08-09T14:15:04Z
tm: add a comment to tm_xdata_swap
---
Modified: src/modules/tm/h_table.c
---
Diff: https://github.com/kamailio/kamailio/commit/da0178673f9a47600329fff2c3105e0f... Patch: https://github.com/kamailio/kamailio/commit/da0178673f9a47600329fff2c3105e0f...
---
diff --git a/src/modules/tm/h_table.c b/src/modules/tm/h_table.c index 6149c363d4..74e47ef7d8 100644 --- a/src/modules/tm/h_table.c +++ b/src/modules/tm/h_table.c @@ -514,6 +514,7 @@ struct s_table *init_hash_table() * backup xdata from/to msg context to local var and use T lists * - mode = 0 - from msg context to _txdata and use T lists * - mode = 1 - restore to msg context from _txdata + * the function can be also used to restore the core context from transacation data */ void tm_xdata_swap(tm_cell_t *t, tm_xlinks_t *xd, int mode) {