summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-22 12:09:05 +0100
committerVolker Lendecke <vl@samba.org>2012-03-22 12:18:33 +0100
commit2351d74a03d90dea419e83852b83ada8392cda46 (patch)
tree6ebdf438238cf4d85956f37d03e0700e6b811e8d
parent4816ffacb81d3234231730149c7b0629bb3646a4 (diff)
downloadsamba-2351d74a03d90dea419e83852b83ada8392cda46.tar.gz
samba-2351d74a03d90dea419e83852b83ada8392cda46.tar.bz2
samba-2351d74a03d90dea419e83852b83ada8392cda46.zip
s3: rename "len"->"next", according to wireshark
-rw-r--r--source3/libsmb/clifile.c6
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,