From 0958f44f17d05f78ddf6c25e97c317bf1b24da16 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 20 Mar 2000 21:42:15 +0000 Subject: Fix from christoph.pfisterer@rwg.de for large directory listing to OS/2 server. Jeremy. (This used to be commit ce1c36541255b51ae429e530c0ebf016009ab84e) --- source3/libsmb/clientgen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/libsmb/clientgen.c') diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index 8d7dbec859..29c228ecfa 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -2193,7 +2193,7 @@ int cli_list(struct cli_state *cli,const char *Mask,uint16 attribute, setup = TRANSACT2_FINDFIRST; SSVAL(param,0,attribute); /* attribute */ SSVAL(param,2,max_matches); /* max count */ - SSVAL(param,4,8+4+2); /* resume required + close on end + continue */ + SSVAL(param,4,4+2); /* resume required + close on end */ SSVAL(param,6,info_level); SIVAL(param,8,0); pstrcpy(param+12,mask); @@ -2203,7 +2203,7 @@ int cli_list(struct cli_state *cli,const char *Mask,uint16 attribute, SSVAL(param,2,max_matches); /* max count */ SSVAL(param,4,info_level); SIVAL(param,6,0); /* ff_resume_key */ - SSVAL(param,10,8+4+2); /* resume required + close on end + continue */ + SSVAL(param,10,8+4+2); /* continue + resume required + close on end */ pstrcpy(param+12,mask); DEBUG(5,("hand=0x%X ff_lastname=%d mask=%s\n", -- cgit