1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

flush after showing the prompt in smbclient

This commit is contained in:
Andrew Tridgell 2009-03-19 16:07:07 +11:00
parent d380c49791
commit 844a1b3cd2

View File

@ -83,6 +83,7 @@ static char *smb_readline_replacement(const char *prompt, void (*callback)(void)
char *ret;
printf("%s", prompt);
fflush(stdout);
line = (char *)malloc(BUFSIZ);
if (!line) {