Module: sip-router Branch: master Commit: bdf815954ed5c08ee7ebe7df4fe479fe65dacaad URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bdf81595...
Author: Henning Westerholt henning.westerholt@1und1.de Committer: Henning Westerholt henning.westerholt@1und1.de Date: Mon May 25 10:41:13 2009 +0200
cr: add a few missing line breaks in init logs, port from k, r5853
---
modules/carrierroute/carrierroute.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/carrierroute/carrierroute.c b/modules/carrierroute/carrierroute.c index 11f438b..4a7c8d0 100644 --- a/modules/carrierroute/carrierroute.c +++ b/modules/carrierroute/carrierroute.c @@ -172,14 +172,14 @@ static int mod_init(void) { carrierroute_db_vars();
if (cr_match_mode != 10 && cr_match_mode != 128) { - LM_ERR("invalid matching mode %d specific, please use 10 or 128", cr_match_mode); + LM_ERR("invalid matching mode %d specific, please use 10 or 128\n", cr_match_mode); return -1; }
if (strcmp(config_source, "db") == 0) { mode = CARRIERROUTE_MODE_DB;
- LM_INFO("use database as configuration source"); + LM_INFO("use database as configuration source\n"); if(carrierroute_db_init() < 0){ return -1; } @@ -191,13 +191,13 @@ static int mod_init(void) { else if (strcmp(config_source, "file") == 0) { mode = CARRIERROUTE_MODE_FILE;
- LM_INFO("use file as configuration source"); + LM_INFO("use file as configuration source\n"); if(stat(config_file, &fs) != 0){ LM_ERR("can't stat config file\n"); return -1; } if(fs.st_mode & S_IWOTH){ - LM_WARN("insecure file permissions, routing data is world writeable"); + LM_WARN("insecure file permissions, routing data is world writeable\n"); } if( !( fs.st_mode & S_IWOTH) && !((fs.st_mode & S_IWGRP) && (fs.st_gid == getegid())) &&