mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
style
This commit is contained in:
@@ -33,7 +33,10 @@ check(const char *buf, ssize_t count, size_t *start) {
|
|||||||
const char chars[] = "abcdefghijklmnopqrstuvwxyz0123456789";
|
const char chars[] = "abcdefghijklmnopqrstuvwxyz0123456789";
|
||||||
ssize_t i;
|
ssize_t i;
|
||||||
|
|
||||||
for (i = 0; i < count; i++, *start = (*start + 1) % (sizeof(chars) - 1)) {
|
for (i = 0;
|
||||||
|
i < count;
|
||||||
|
i++, *start = (*start + 1) % (sizeof(chars) - 1))
|
||||||
|
{
|
||||||
/* Just ignore the trailing newline */
|
/* Just ignore the trailing newline */
|
||||||
if (buf[i] == '\n')
|
if (buf[i] == '\n')
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user