1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-20 02:42:09 +03:00

tidy-up: formatting nits

Whitespace and redundant parenthesis in `return`s.

Closes #1029
This commit is contained in:
Viktor Szakats
2023-05-04 11:31:40 +00:00
parent 272a17ce26
commit fc003d4dc3
8 changed files with 22 additions and 23 deletions

View File

@@ -935,7 +935,7 @@ int _libssh2_check_length(struct string_buf *buf, size_t len)
{
unsigned char *endp = &buf->data[buf->len];
size_t left = endp - buf->dataptr;
return ((len <= left) && (left <= buf->len));
return (len <= left) && (left <= buf->len);
}
int _libssh2_eob(struct string_buf *buf)