Module: sip-router
Branch: janakj/flatstore
Commit: 73ebd9245377bbdb0b12930120796f0f80a81092
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=73ebd92…
Author: Tomas Mandys <tomas.mandys(a)iptel.org>
Committer: Tomas Mandys <tomas.mandys(a)iptel.org>
Date: Sun Jan 8 22:43:14 2006 +0000
- export param types adjusted to PARAM_STR/STRING & PARAM_INT
- removed corresponding obsolete strlen(str_param) in init
---
modules/db_flatstore/flatstore_mod.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/db_flatstore/flatstore_mod.c b/modules/db_flatstore/flatstore_mod.c
index 54b280a..d4576e3 100644
--- a/modules/db_flatstore/flatstore_mod.c
+++ b/modules/db_flatstore/flatstore_mod.c
@@ -97,10 +97,10 @@ static cmd_export_t cmds[] = {
* Exported parameters
*/
static param_export_t params[] = {
- {"flush", INT_PARAM, &flat_flush},
- {"field_delimiter", STR_PARAM, &flat_delimiter},
- {"record_delimiter", STR_PARAM, &flat_record_delimiter},
- {"escape_char", STR_PARAM, &flat_escape},
+ {"flush", PARAM_INT, &flat_flush},
+ {"field_delimiter", PARAM_STRING, &flat_delimiter},
+ {"record_delimiter", PARAM_STRING, &flat_record_delimiter},
+ {"escape_char", PARAM_STRING, &flat_escape},
{0, 0, 0}
};