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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user