summaryrefslogtreecommitdiffhomepage
path: root/.hgignore
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2024-07-12 00:49:28 +0100
committerAndrew Clayton <a.clayton@nginx.com>2024-07-12 16:53:19 +0100
commitebb10b0ad3fc120b5ad219f9155c80311693f5af (patch)
treeaa5c2df4eef12a281ff774b915182b09065ba70f /.hgignore
parentf4ba4b5583cef182ad29cc158e8b1e2965b09829 (diff)
downloadunit-ebb10b0ad3fc120b5ad219f9155c80311693f5af.tar.gz
unit-ebb10b0ad3fc120b5ad219f9155c80311693f5af.tar.bz2
Fix a comment typo for 'Memory-only buffers' in src/nxt_buf.h
As the comment for 'Memory-only buffers' says "... it is equal to offsetof(nxt_buf_t, file.pos)" and "... that is it is nxt_buf_t without file and mmap part" Those are at odds with each other, 'file.pos' comes _after_ 'file' in the nxt_buf_t structure. Fix the 'offset()' bit of the comment to reflect that and to match the relevant macro #define NXT_BUF_MEM_SIZE offsetof(nxt_buf_t, file) Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to '.hgignore')
0 files changed, 0 insertions, 0 deletions