]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: rename "len"->"next", according to wireshark
authorVolker Lendecke <vl@samba.org>
Thu, 22 Mar 2012 11:09:05 +0000 (12:09 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 22 Mar 2012 11:18:33 +0000 (12:18 +0100)
source3/libsmb/clifile.c

index 0c8a3409296f8f2398391354d4d20fbdce28b6ec..3adc61559dd44a6b69aac4f5a6dbf390c89394c5 100644 (file)
@@ -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,