by servercmd() and output() is not called from servercmd() with a
code of C_FLUSH.
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)
}
if (auxfi) {
fprintf(auxfi, "%s", buf);
- if (code == C_FLUSH)
- (void)fflush(auxfi);
}
if (redir_fp)
fprintf(pipe_fp, "%s", buf);
else {
screen(buf);
- if (code == C_FLUSH)
- (void)fflush(stdout);
}
}