summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-27 00:15:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:18:58 -0500
commitfe28eb2e411f3fd6b1b0d46ee0e5344592d7e49c (patch)
tree780c3e72c136acc1d70b2fbb75bb222548484984 /source3/libsmb
parenta24c4049670e6837705ac7013c7d2da596a95f6a (diff)
downloadsamba-fe28eb2e411f3fd6b1b0d46ee0e5344592d7e49c.tar.gz
samba-fe28eb2e411f3fd6b1b0d46ee0e5344592d7e49c.tar.bz2
samba-fe28eb2e411f3fd6b1b0d46ee0e5344592d7e49c.zip
r16541: Fix #3862 reported by jason@ncac.gwu.edu.
Jeremy. (This used to be commit 09e11dcb2304eec9656e76c24921c82f4a870914)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clilist.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c
index 9ab05d2b4a..e18bb185d5 100644
--- a/source3/libsmb/clilist.c
+++ b/source3/libsmb/clilist.c
@@ -185,7 +185,6 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute,
BOOL First = True;
int ff_searchcount=0;
int ff_eos=0;
- int ff_lastname=0;
int ff_dir_handle=0;
int loop_count = 0;
char *rparam=NULL, *rdata=NULL;
@@ -297,11 +296,9 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute,
ff_dir_handle = SVAL(p,0);
ff_searchcount = SVAL(p,2);
ff_eos = SVAL(p,4);
- ff_lastname = SVAL(p,8);
} else {
ff_searchcount = SVAL(p,0);
ff_eos = SVAL(p,2);
- ff_lastname = SVAL(p,6);
}
if (ff_searchcount == 0) {