diff options
author | Tim Potter <tpot@samba.org> | 2005-04-21 05:09:05 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:40 -0500 |
commit | 6b705097d4d9062369eb3d337dce4d892a5c8fee (patch) | |
tree | cbed638da7ef75d98bb1bc8c5df6da0ef483b053 | |
parent | a7bdbf13e92306a751416ea1ca4a8c428dd33505 (diff) | |
download | samba-6b705097d4d9062369eb3d337dce4d892a5c8fee.tar.gz samba-6b705097d4d9062369eb3d337dce4d892a5c8fee.tar.bz2 samba-6b705097d4d9062369eb3d337dce4d892a5c8fee.zip |
r6412: Add fflush(stdout) after displaying username prompt in smbsh if
username not specified on command line. Bugzilla 2611.
(This used to be commit b568e5188c3bc514d747b4c1c4e612e924fc6a4f)
-rw-r--r-- | source3/smbwrapper/smbsh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbwrapper/smbsh.c b/source3/smbwrapper/smbsh.c index 7a2b8e09d7..8c9d971bbe 100644 --- a/source3/smbwrapper/smbsh.c +++ b/source3/smbwrapper/smbsh.c @@ -83,6 +83,7 @@ int main(int argc, char *argv[]) if (!smbw_getshared("USER")) { printf("Username: "); + fflush(stdout); u = fgets_slash(line, sizeof(line)-1, x_stdin); smbw_setshared("USER", u); } |