1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-07-29 13:01:14 +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

@ -436,7 +436,7 @@ int main(int argc, char *argv[])
fds[0].revents = LIBSSH2_POLLFD_POLLIN;
rc = libssh2_poll(fds, nfds, 0);
if(rc >0) {
if(rc > 0) {
libssh2_channel_read(channel, buf, sizeof(buf));
fprintf(stdout, "%s", buf);
fflush(stdout);