diff options
| author | Alex Colomar <alx.manpages@gmail.com> | 2022-09-11 00:57:38 +0200 |
|---|---|---|
| committer | Alex Colomar <alx.manpages@gmail.com> | 2022-09-12 17:18:55 +0200 |
| commit | d917c31dda3941c70eb72864dc5351144f981fbd (patch) | |
| tree | 5d6530562c752105ab323ef85507a03fb5d49382 /man3/fopencookie.3 | |
| parent | 0f6f10d52afa01c97b8366e452c4e299ef86b276 (diff) | |
| download | man-pages-d917c31dda3941c70eb72864dc5351144f981fbd.tar.gz | |
Various pages: EXAMPLES: Fix alignment
In some cases, add braces, for readability.
Link: <https://nginx.org/en/docs/dev/development_guide.html#code_style>
Reported-by: checkpatch(1)
Signed-off-by: Alex Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'man3/fopencookie.3')
| -rw-r--r-- | man3/fopencookie.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/fopencookie.3 b/man3/fopencookie.3 index 8f09ab8b5e..68813b136d 100644 --- a/man3/fopencookie.3 +++ b/man3/fopencookie.3 @@ -343,7 +343,7 @@ memfile_read(void *c, char *buf, size_t size) if (cookie\->offset + size > cookie\->endpos) xbytes = cookie\->endpos \- cookie\->offset; if (xbytes < 0) /* offset may be past endpos */ - xbytes = 0; + xbytes = 0; memcpy(buf, cookie\->buf + cookie\->offset, xbytes); |
