(output): Remove C_FLUSH from output() as C_FLUSH is dealt with
by servercmd() and output() is not called from servercmd() with a code of C_FLUSH.
This commit is contained in:
parent
50e4ef3e39
commit
733f747a36
1 changed files with 0 additions and 9 deletions
|
@ -296,11 +296,6 @@ output(int code, char *buf, FILE *auxfi, int eol)
|
|||
case C_NOECHO:
|
||||
/* not implemented; serve doesn't send it */
|
||||
break;
|
||||
case C_FLUSH:
|
||||
(void)fflush(stdout);
|
||||
if (auxfi)
|
||||
(void)fflush(auxfi);
|
||||
break;
|
||||
case C_ABORT:
|
||||
printf("Aborted\n");
|
||||
if (auxfi)
|
||||
|
@ -325,8 +320,6 @@ output(int code, char *buf, FILE *auxfi, int eol)
|
|||
}
|
||||
if (auxfi) {
|
||||
fprintf(auxfi, "%s", buf);
|
||||
if (code == C_FLUSH)
|
||||
(void)fflush(auxfi);
|
||||
}
|
||||
|
||||
if (redir_fp)
|
||||
|
@ -335,8 +328,6 @@ output(int code, char *buf, FILE *auxfi, int eol)
|
|||
fprintf(pipe_fp, "%s", buf);
|
||||
else {
|
||||
screen(buf);
|
||||
if (code == C_FLUSH)
|
||||
(void)fflush(stdout);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue