Module: kamailio Branch: master Commit: a0e4a9c18eea8fe58a32aae8d722a27deac47962 URL: https://github.com/kamailio/kamailio/commit/a0e4a9c18eea8fe58a32aae8d722a27d...
Author: Olle E. Johansson oej@edvina.net Committer: Olle E. Johansson oej@edvina.net Date: 2016-04-21T22:27:36+02:00
mtree Make table name in source code the default as documented in the README
---
Modified: modules/mtree/mtree_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/a0e4a9c18eea8fe58a32aae8d722a27d... Patch: https://github.com/kamailio/kamailio/commit/a0e4a9c18eea8fe58a32aae8d722a27d...
---
diff --git a/modules/mtree/mtree_mod.c b/modules/mtree/mtree_mod.c index 05f69ac..9297a69 100644 --- a/modules/mtree/mtree_mod.c +++ b/modules/mtree/mtree_mod.c @@ -76,7 +76,7 @@ CREATE TABLE mtrees (
/** parameters */ static str db_url = str_init(DEFAULT_DB_URL); -static str db_table = str_init(""); +static str db_table = str_init("mtrees"); static str tname_column = str_init("tname"); static str tprefix_column = str_init("tprefix"); static str tvalue_column = str_init("tvalue");