(output): Remove unused parameter eol. Caller changed.
This commit is contained in:
parent
1d330548ea
commit
09e7abbd0d
1 changed files with 4 additions and 4 deletions
|
@ -63,7 +63,7 @@ static void prompt(FILE *auxfi);
|
||||||
static void doredir(char *p);
|
static void doredir(char *p);
|
||||||
static void dopipe(char *p);
|
static void dopipe(char *p);
|
||||||
static void doexecute(char *p, FILE *auxfi);
|
static void doexecute(char *p, FILE *auxfi);
|
||||||
static void output(int code, char *buf, FILE *auxfi, int eol);
|
static void output(int code, char *buf, FILE *auxfi);
|
||||||
static void screen(char *buf);
|
static void screen(char *buf);
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -135,7 +135,7 @@ servercmd(struct ioqueue *ioq, FILE *auxfi)
|
||||||
*num_teles = '\0';
|
*num_teles = '\0';
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
output(code, p, auxfi, eol);
|
output(code, p, auxfi);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (eol)
|
if (eol)
|
||||||
|
@ -287,11 +287,11 @@ doexecute(char *p, FILE *auxfi)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
output(int code, char *buf, FILE *auxfi, int eol)
|
output(int code, char *buf, FILE *auxfi)
|
||||||
{
|
{
|
||||||
switch (code) {
|
switch (code) {
|
||||||
case C_NOECHO:
|
case C_NOECHO:
|
||||||
/* not implemented; serve doesn't send it */
|
/* not implemented; server doesn't send it */
|
||||||
break;
|
break;
|
||||||
case C_ABORT:
|
case C_ABORT:
|
||||||
printf("Aborted\n");
|
printf("Aborted\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue