mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-20 02:42:09 +03:00
agent.c: formatting
Improved formatting of RECV_SEND_ALL macro.
This commit is contained in:
@@ -177,9 +177,7 @@ agent_connect_unix(LIBSSH2_AGENT *agent)
|
|||||||
|
|
||||||
#define RECV_SEND_ALL(func, socket, buffer, length, flags, abstract) \
|
#define RECV_SEND_ALL(func, socket, buffer, length, flags, abstract) \
|
||||||
int rc; \
|
int rc; \
|
||||||
size_t finished; \
|
size_t finished = 0; \
|
||||||
\
|
|
||||||
finished = 0; \
|
|
||||||
\
|
\
|
||||||
while(finished < length) { \
|
while(finished < length) { \
|
||||||
rc = func(socket, \
|
rc = func(socket, \
|
||||||
|
|||||||
Reference in New Issue
Block a user