summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-03-19 16:07:07 +1100
committerAndrew Tridgell <tridge@samba.org>2009-03-19 16:07:07 +1100
commit844a1b3cd27f323087b707e494c5e3860340eb27 (patch)
treea001c6b53932b379792998ef8c66e575ef3a176d
parentd380c49791d1010d759369cab12d93b6fbd48dc7 (diff)
downloadsamba-844a1b3cd27f323087b707e494c5e3860340eb27.tar.gz
flush after showing the prompt in smbclient
-rw-r--r--source4/lib/smbreadline/smbreadline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/smbreadline/smbreadline.c b/source4/lib/smbreadline/smbreadline.c
index 5fb3bf4fae4..b07417357f6 100644
--- a/source4/lib/smbreadline/smbreadline.c
+++ b/source4/lib/smbreadline/smbreadline.c
@@ -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) {