Don't output the terminating '\0' (already fixed in OpenSSH CVS)
This commit is contained in:
parent
8cf8104b8f
commit
002696701b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor-crypto/openssh/dist/; revision=124287
@ -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