Module: sip-router Branch: janakj/flatstore Commit: e212931846b91010d5331a9982eeb49637dd2c5a URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e2129318...
Author: Tomas Mandys tomas.mandys@iptel.org Committer: Tomas Mandys tomas.mandys@iptel.org Date: Sun Jan 29 12:31:57 2006 +0000
- "strlen(flat_escape) > 1" fix
---
modules/db_flatstore/flatstore_mod.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/db_flatstore/flatstore_mod.c b/modules/db_flatstore/flatstore_mod.c index d4576e3..462f993 100644 --- a/modules/db_flatstore/flatstore_mod.c +++ b/modules/db_flatstore/flatstore_mod.c @@ -130,7 +130,7 @@ static int mod_init(void) return -1; }
- if (strlen(flat_escape) > 0) { + if (strlen(flat_escape) > 1) { LOG(L_ERR, "flatstore:mod_init: Escape char has to be max. one character\n"); return -1; }