(servercmd): Parsed BTUs into nmin and minutes into nbtu. Fix. No
functional change.
This commit is contained in:
parent
921fba6532
commit
647783f652
1 changed files with 2 additions and 2 deletions
|
@ -83,11 +83,11 @@ servercmd(struct ioqueue *ioq, FILE *auxfi)
|
|||
code = *buf - '0';
|
||||
switch (code) {
|
||||
case C_PROMPT:
|
||||
if (sscanf(p, "%d %d", &nbtu, &nmin) != 2) {
|
||||
if (sscanf(p, "%d %d", &nmin, &nbtu) != 2) {
|
||||
fprintf(stderr, "prompt: bad server prompt %s\n", p);
|
||||
}
|
||||
mode = code;
|
||||
sprintf(the_prompt, "[%d:%d] Command : ", nbtu, nmin);
|
||||
sprintf(the_prompt, "[%d:%d] Command : ", nmin, nbtu);
|
||||
prompt(auxfi);
|
||||
break;
|
||||
case C_REDIR:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue