summaryrefslogtreecommitdiff
path: root/source3/libsmb/clilist.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-03-22 20:54:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:13 -0500
commitb360f556a5c1a6e9ed7a941451eca5d278a8a633 (patch)
treefa0cc81de16304cb5f7f8ced738cdc92ad2bff79 /source3/libsmb/clilist.c
parentcf7d098b2c1032b51b8f5d439b29c8d20d0991ee (diff)
downloadsamba-b360f556a5c1a6e9ed7a941451eca5d278a8a633.tar.gz
samba-b360f556a5c1a6e9ed7a941451eca5d278a8a633.tar.bz2
samba-b360f556a5c1a6e9ed7a941451eca5d278a8a633.zip
r5967: Fix typo bug where flags overwrote info level.
Jeremy. (This used to be commit 214a2cbe5aed9f0540b03350b60d0eec1c61bad8)
Diffstat (limited to 'source3/libsmb/clilist.c')
-rw-r--r--source3/libsmb/clilist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c
index dcac17d24a..704babc919 100644
--- a/source3/libsmb/clilist.c
+++ b/source3/libsmb/clilist.c
@@ -205,7 +205,7 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute,
SIVAL(param,6,0); /* ff_resume_key */
/* NB. *DON'T* use continue here. If you do it seems that W2K and bretheren
can miss filenames. Use last filename continue instead. JRA */
- SSVAL(param,4,(FLAG_TRANS2_FIND_REQUIRE_RESUME|FLAG_TRANS2_FIND_CLOSE_IF_END)); /* resume required + close on end */
+ SSVAL(param,10,(FLAG_TRANS2_FIND_REQUIRE_RESUME|FLAG_TRANS2_FIND_CLOSE_IF_END)); /* resume required + close on end */
p = param+12;
p += clistr_push(cli, param+12, mask, sizeof(param)-12,
STR_TERMINATE);