Changeset 989 for vendor/current/source3/smbd/aio.c
- Timestamp:
- Nov 25, 2016, 8:04:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/smbd/aio.c
r988 r989 273 273 int outsize; 274 274 char *outbuf = (char *)aio_ex->outbuf.data; 275 char *data = smb_buf(outbuf) + 1 /* padding byte */;276 275 ssize_t nread; 277 276 int err; … … 302 301 outsize = srv_set_message(outbuf,0,0,true); 303 302 } else { 304 outsize = srv_set_message(outbuf, 12, 305 nread + 1 /* padding byte */, false); 306 SSVAL(outbuf,smb_vwv2, 0xFFFF); /* Remaining - must be * -1. */ 307 SSVAL(outbuf,smb_vwv5, nread); 308 SSVAL(outbuf,smb_vwv6, smb_offset(data,outbuf)); 309 SSVAL(outbuf,smb_vwv7, ((nread >> 16) & 1)); 310 SSVAL(smb_buf(outbuf), -2, nread); 303 outsize = setup_readX_header(outbuf, nread); 311 304 312 305 aio_ex->fsp->fh->pos = aio_ex->offset + nread;
Note:
See TracChangeset
for help on using the changeset viewer.