Skip to content

Commit

Permalink
sipcapture Add some missing \n in log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
oej committed Jan 17, 2015
1 parent cb8304f commit 5bafc03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/sipcapture/sipcapture.c
Expand Up @@ -794,16 +794,16 @@ static int mod_init(void) {
}

if ((insert_retries <0) || ( insert_retries > 500)) {
LM_ERR("insert_retries should be a value between 0 and 500");
LM_ERR("insert_retries should be a value between 0 and 500\n");
return -1;
}

if (( 0 == insert_retries) && (insert_retry_timeout != 0)){
LM_ERR("insert_retry_timeout has no meaning when insert_retries is not set");
LM_ERR("insert_retry_timeout has no meaning when insert_retries is not set\n");
}

if ((insert_retry_timeout <0) || ( insert_retry_timeout > 300)) {
LM_ERR("insert_retry_timeout should be a value between 0 and 300");
LM_ERR("insert_retry_timeout should be a value between 0 and 300\n");
return -1;
}

Expand Down Expand Up @@ -964,7 +964,7 @@ static int child_init(int rank)

while (c){
if (!c->db_url.s || !c->db_url.len ){
LM_ERR("DB URL not set for capture mode:[%.*s]", c->name.len, c->name.s);
LM_ERR("DB URL not set for capture mode:[%.*s]\n", c->name.len, c->name.s);
return -1;
}
c->db_con = c->db_funcs.init(&c->db_url);
Expand Down

0 comments on commit 5bafc03

Please sign in to comment.