summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-03-20 21:42:15 +0000
committerJeremy Allison <jra@samba.org>2000-03-20 21:42:15 +0000
commit0958f44f17d05f78ddf6c25e97c317bf1b24da16 (patch)
tree54ee30f3c63609fd928b65cae16fba2f25e75f96
parente601c0259e9e6a48e04ce3e0ff793cb564a89716 (diff)
downloadsamba-0958f44f17d05f78ddf6c25e97c317bf1b24da16.tar.gz
samba-0958f44f17d05f78ddf6c25e97c317bf1b24da16.tar.bz2
samba-0958f44f17d05f78ddf6c25e97c317bf1b24da16.zip
Fix from christoph.pfisterer@rwg.de for large directory listing to OS/2
server. Jeremy. (This used to be commit ce1c36541255b51ae429e530c0ebf016009ab84e)
-rw-r--r--source3/libsmb/clientgen.c4
1 files changed, 2 insertions, 2 deletions
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",