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:
Russell Bryant
2007-07-17 19:45:07 +00:00
parent d0cb9b141d
commit 6f40b0d2b4

View File

@@ -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);
}