diff options
author | Volker Lendecke <vl@samba.org> | 2012-03-22 12:09:05 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-03-22 12:18:33 +0100 |
commit | 2351d74a03d90dea419e83852b83ada8392cda46 (patch) | |
tree | 6ebdf438238cf4d85956f37d03e0700e6b811e8d /source3/libsmb | |
parent | 4816ffacb81d3234231730149c7b0629bb3646a4 (diff) | |
download | samba-2351d74a03d90dea419e83852b83ada8392cda46.tar.gz samba-2351d74a03d90dea419e83852b83ada8392cda46.tar.bz2 samba-2351d74a03d90dea419e83852b83ada8392cda46.zip |
s3: rename "len"->"next", according to wireshark
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clifile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index 0c8a340929..3adc61559d 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -5004,13 +5004,13 @@ static void cli_notify_done(struct tevent_req *subreq) ofs = 0; while (num_params - ofs > 12) { - uint32_t len = IVAL(params, ofs); + uint32_t next = IVAL(params, ofs); state->num_changes += 1; - if ((len == 0) || (ofs+len >= num_params)) { + if ((next == 0) || (ofs+next >= num_params)) { break; } - ofs += len; + ofs += next; } state->changes = talloc_array(state, struct notify_change, |