[prev in list] [next in list] [prev in thread] [next in thread]
List: serdev
Subject: [sr-dev] git:master:f4b8bede: dispatcher: Log dest sets after variable update
From: Marat Gareev <maratkin94 () gmail ! com>
Date: 2021-01-25 18:03:44
Message-ID: E1l46DI-0004fS-9X () www ! kamailio ! org
[Download RAW message or body]
Module: kamailio
Branch: master
Commit: f4b8bede6a247415eda84a7db9569747905f9fa0
URL: https://github.com/kamailio/kamailio/commit/f4b8bede6a247415eda84a7db9569747905f9fa0
Author: Marat Gareev <maratkin94@gmail.com>
Committer: Marat Gareev <maratkin94@gmail.com>
Date: 2021-01-25T18:40:47+03:00
dispatcher: Log dest sets after variable update
---
Modified: src/modules/dispatcher/dispatch.c
---
Diff: https://github.com/kamailio/kamailio/commit/f4b8bede6a247415eda84a7db9569747905f9fa0.diff
Patch: https://github.com/kamailio/kamailio/commit/f4b8bede6a247415eda84a7db9569747905f9fa0.patch
---
diff --git a/src/modules/dispatcher/dispatch.c b/src/modules/dispatcher/dispatch.c
index c0a6d22fc0..62d416620e 100644
--- a/src/modules/dispatcher/dispatch.c
+++ b/src/modules/dispatcher/dispatch.c
@@ -895,14 +895,14 @@ int ds_load_list(char *lfile)
goto error;
}
- LM_DBG("found [%d] dest sets\n", _ds_list_nr);
-
fclose(f);
f = NULL;
/* Update list - should it be sync'ed? */
_ds_list_nr = setn;
*crt_idx = *next_idx;
+ LM_DBG("found [%d] dest sets\n", _ds_list_nr);
+
ds_log_sets();
return 0;
@@ -1143,14 +1143,14 @@ int ds_load_db(void)
goto err2;
}
- LM_DBG("found [%d] dest sets\n", _ds_list_nr);
-
ds_dbf.free_result(ds_db_handle, res);
/* update data - should it be sync'ed? */
_ds_list_nr = setn;
*crt_idx = *next_idx;
+ LM_DBG("found [%d] dest sets\n", _ds_list_nr);
+
ds_log_sets();
if(dest_errs > 0)
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic