From de10237719db8101cd9487b257761d4721f857ab Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 15 Aug 2003 18:54:44 +0000 Subject: more fixes from the IRIX compiler (thanks herb!) (This used to be commit 02d068ba7d81d6db25122144981c63f74ad44025) --- source4/torture/nbio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/torture/nbio.c') 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) -- cgit