diff options
author | Christopher R. Hertel <crh@samba.org> | 1998-08-12 14:51:17 +0000 |
---|---|---|
committer | Christopher R. Hertel <crh@samba.org> | 1998-08-12 14:51:17 +0000 |
commit | 08feb74221427423b44f3ea5cae182f7e392f0f5 (patch) | |
tree | 930a4f53ce36d7fca4fcf36446dc5260741a0285 /source3/client | |
parent | fcb5437da6a32b641260502d371494df614949d0 (diff) | |
download | samba-08feb74221427423b44f3ea5cae182f7e392f0f5.tar.gz samba-08feb74221427423b44f3ea5cae182f7e392f0f5.tar.bz2 samba-08feb74221427423b44f3ea5cae182f7e392f0f5.zip |
I've added a dbgflush() function to debug.c. Calling this will cause the
debug format buffer to be written out (and reset). fflush() is also called
to force the issue. I replaced the call to fflush() in client.c with a
call to dbgflush(), which seems to have fixed the problem that Andrew was
working on (i.e., that the prompt was not displayed when using smbclient).
Chris -)-----
(This used to be commit a97460869fe1448be5132fdab586d30872d21a69)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index f010dfebf4..d23bdb5796 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -3418,7 +3418,7 @@ static BOOL process(char *base_directory) /* display a prompt */ DEBUG(0,("smb: %s> ", CNV_LANG(cur_dir))); - fflush(dbf); + dbgflush( ); wait_keyboard(InBuffer); |