mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Remove a duplicated newline character in AGI debug output.
(closes issue #10207, patch by seanbright) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -128,7 +128,7 @@ static void agi_debug_cli(int fd, char *fmt, ...)
|
||||
ast_log(LOG_ERROR, "Out of memory\n");
|
||||
} else {
|
||||
if (agidebug)
|
||||
ast_verbose("AGI Tx >> %s\n", stuff);
|
||||
ast_verbose("AGI Tx >> %s", stuff); /* \n provided by caller */
|
||||
ast_carefulwrite(fd, stuff, strlen(stuff), 100);
|
||||
free(stuff);
|
||||
}
|
||||
|
Reference in New Issue
Block a user