[sr-dev] git:master:261b7e13: matrix: Add RPC response on matrix reload success
Olle E. Johansson
oej at edvina.net
Mon Jan 3 16:29:07 CET 2022
Module: kamailio
Branch: master
Commit: 261b7e13d711e5361ed491a8fd04efee2d73709e
URL: https://github.com/kamailio/kamailio/commit/261b7e13d711e5361ed491a8fd04efee2d73709e
Author: Olle E. Johansson <oej at edvina.net>
Committer: Olle E. Johansson <oej at edvina.net>
Date: 2022-01-03T16:00:05+01:00
matrix: Add RPC response on matrix reload success
---
Modified: src/modules/matrix/matrix.c
---
Diff: https://github.com/kamailio/kamailio/commit/261b7e13d711e5361ed491a8fd04efee2d73709e.diff
Patch: https://github.com/kamailio/kamailio/commit/261b7e13d711e5361ed491a8fd04efee2d73709e.patch
---
diff --git a/src/modules/matrix/matrix.c b/src/modules/matrix/matrix.c
index d2177ccb24..54f26aa0f7 100644
--- a/src/modules/matrix/matrix.c
+++ b/src/modules/matrix/matrix.c
@@ -526,11 +526,12 @@ static void matrix_rpc_reload(rpc_t* rpc, void* c)
if(db_reload_matrix() < 0) {
rpc->fault(c, 500, "Reload failed");
}
+ rpc->rpl_printf(c, "Ok. Reload successful.");
matrix_db_close();
}
static const char *matrix_rpc_reload_doc[2] = {
- "reload matrix records from database",
+ "Reload matrix records from database",
0
};
More information about the sr-dev
mailing list