Fix some formatting in asterisk.c

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
James Golovich 21 years ago
parent 74786b8c58
commit 9b926b1d64

@ -669,11 +669,12 @@ static void console_verboser(const char *s, int pos, int replace, int complete)
else
fputs(s + pos,stdout);
fflush(stdout);
if (complete)
if (complete) {
/* Wake up a poll()ing console */
if (option_console && consolethread != AST_PTHREADT_NULL)
pthread_kill(consolethread, SIGURG);
}
}
static int ast_all_zeros(char *s)
{
@ -1169,7 +1170,8 @@ static int ast_cli_display_match_list(char **matches, int len, int max)
continue;
}
numoutput++; numoutputline++;
numoutput++;
numoutputline++;
fprintf(stdout, "%-*s ", max, matches[idx]);
free(matches[idx]);
matches[idx] = NULL;

Loading…
Cancel
Save