mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 11:28:25 +00:00
Add missing newlines to CLI logging
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@361471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -439,7 +439,7 @@ static int func_channel_write_real(struct ast_channel *chan, const char *functio
|
||||
ret = ast_channel_trace_disable(chan);
|
||||
else {
|
||||
ret = -1;
|
||||
ast_log(LOG_WARNING, "Invalid value for CHANNEL(trace).");
|
||||
ast_log(LOG_WARNING, "Invalid value for CHANNEL(trace).\n");
|
||||
}
|
||||
ast_channel_unlock(chan);
|
||||
}
|
||||
|
||||
@@ -1122,7 +1122,7 @@ static int quote(struct ast_channel *chan, const char *cmd, char *data, char *bu
|
||||
char *bufptr = buf, *dataptr = data;
|
||||
|
||||
if (len < 3){ /* at least two for quotes and one for binary zero */
|
||||
ast_log(LOG_ERROR, "Not enough buffer");
|
||||
ast_log(LOG_ERROR, "Not enough buffer\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -1161,7 +1161,7 @@ static int csv_quote(struct ast_channel *chan, const char *cmd, char *data, char
|
||||
char *bufptr = buf, *dataptr = data;
|
||||
|
||||
if (len < 3) { /* at least two for quotes and one for binary zero */
|
||||
ast_log(LOG_ERROR, "Not enough buffer");
|
||||
ast_log(LOG_ERROR, "Not enough buffer\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user