mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Console fix (bug #2764) and logger fix...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4136 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -247,13 +247,15 @@ static void network_verboser(const char *s, int pos, int replace, int complete)
|
||||
char *t = alloca(strlen(s) + 2);
|
||||
if (t) {
|
||||
sprintf(t, "\r%s", s);
|
||||
ast_network_puts(t);
|
||||
if (complete)
|
||||
ast_network_puts(t);
|
||||
} else {
|
||||
ast_log(LOG_ERROR, "Out of memory\n");
|
||||
ast_network_puts(s);
|
||||
}
|
||||
} else {
|
||||
ast_network_puts(s);
|
||||
if (complete)
|
||||
ast_network_puts(s);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user