Changeset 740 for vendor/current/source4/libcli/raw/rawnotify.c
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified vendor/current/source4/libcli/raw/rawnotify.c ¶
r414 r740 72 72 parms->nttrans.out.changes = NULL; 73 73 parms->nttrans.out.num_changes = 0; 74 74 75 75 /* count them */ 76 76 for (ofs=0; nt.out.params.length - ofs > 12; ) { 77 77 uint32_t next = IVAL(nt.out.params.data, ofs); 78 if (next % 4 != 0) 79 return NT_STATUS_INVALID_NETWORK_RESPONSE; 78 80 parms->nttrans.out.num_changes++; 79 81 if (next == 0 || … … 156 158 * but we want to keep it under oldreq->ntcancel 157 159 */ 158 if (!talloc_reference(oldreq, req)) { 159 talloc_free(req); 160 return NT_STATUS_NO_MEMORY; 161 } 160 req->do_not_free = true; 161 talloc_steal(oldreq, req); 162 162 163 163 smbcli_request_send(req);
Note:
See TracChangeset
for help on using the changeset viewer.