summaryrefslogtreecommitdiffstats
path: root/source/libsmb/clientgen.c
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
commitce1c36541255b51ae429e530c0ebf016009ab84e (patch)
treef7cdde3d69e296700e55e26940f38352ec1afab4 /source/libsmb/clientgen.c
parent3b8cbb10de322fd7a1063fb5b681790b10d24ab0 (diff)
downloadsamba-ce1c36541255b51ae429e530c0ebf016009ab84e.tar.gz
samba-ce1c36541255b51ae429e530c0ebf016009ab84e.tar.xz
samba-ce1c36541255b51ae429e530c0ebf016009ab84e.zip
Fix from christoph.pfisterer@rwg.de for large directory listing to OS/2
server. Jeremy.
Diffstat (limited to 'source/libsmb/clientgen.c')
-rw-r--r--source/libsmb/clientgen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/libsmb/clientgen.c b/source/libsmb/clientgen.c
index 8d7dbec8590..29c228ecfa3 100644
--- a/source/libsmb/clientgen.c
+++ b/source/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",