Don't output the terminating '\0' (already fixed in OpenSSH CVS)
This commit is contained in:
parent
8cf8104b8f
commit
002696701b
@ -200,7 +200,7 @@ refresh_progress_meter(void)
|
||||
strlcat(buf, " ", win_size);
|
||||
}
|
||||
|
||||
atomicio(vwrite, STDOUT_FILENO, buf, win_size);
|
||||
atomicio(vwrite, STDOUT_FILENO, buf, win_size - 1);
|
||||
last_update = now;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user