summaryrefslogtreecommitdiff
path: root/source4/torture/nbio.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/nbio.c')
-rw-r--r--source4/torture/nbio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/nbio.c b/source4/torture/nbio.c
index ef231478d0..e2986cf14e 100644
--- a/source4/torture/nbio.c
+++ b/source4/torture/nbio.c
@@ -258,9 +258,11 @@ void nb_findfirst(const char *mask)
void nb_flush(int fnum)
{
+ struct smb_flush io;
int i;
i = find_handle(fnum);
- /* hmmm, we don't have cli_flush() yet */
+ io.in.fnum = ftable[i].fd;
+ smb_raw_flush(c->tree, &io);
}
void nb_deltree(const char *dname)