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 | b568e5188c3bc514d747b4c1c4e612e924fc6a4f (patch) | |
tree | 902732408c8f6481e4b909afc526d1dac670d523 /source/smbwrapper | |
parent | 6a50b304e7e028032cf97f2a2a0749c096155d9c (diff) | |
download | samba-b568e5188c3bc514d747b4c1c4e612e924fc6a4f.tar.gz samba-b568e5188c3bc514d747b4c1c4e612e924fc6a4f.tar.xz samba-b568e5188c3bc514d747b4c1c4e612e924fc6a4f.zip |
r6412: Add fflush(stdout) after displaying username prompt in smbsh if
username not specified on command line. Bugzilla 2611.
Diffstat (limited to 'source/smbwrapper')
-rw-r--r-- | source/smbwrapper/smbsh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/smbwrapper/smbsh.c b/source/smbwrapper/smbsh.c index 7a2b8e09d7a..8c9d971bbe2 100644 --- a/source/smbwrapper/smbsh.c +++ b/source/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); } |