From 2351d74a03d90dea419e83852b83ada8392cda46 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 22 Mar 2012 12:09:05 +0100 Subject: s3: rename "len"->"next", according to wireshark --- source3/libsmb/clifile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/libsmb/clifile.c') 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, -- cgit