summaryrefslogtreecommitdiff
path: root/source4/lib/smbreadline
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 /source4/lib/smbreadline
parentd380c49791d1010d759369cab12d93b6fbd48dc7 (diff)
downloadsamba-844a1b3cd27f323087b707e494c5e3860340eb27.tar.gz
samba-844a1b3cd27f323087b707e494c5e3860340eb27.tar.bz2
samba-844a1b3cd27f323087b707e494c5e3860340eb27.zip
flush after showing the prompt in smbclient
Diffstat (limited to 'source4/lib/smbreadline')
-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 5fb3bf4fae..b07417357f 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) {