mirror of
https://github.com/fluencelabs/redis
synced 2025-06-29 08:51:33 +00:00
aof: format code and comment
This commit is contained in:
@ -1315,7 +1315,7 @@ int aofCreatePipes(void) {
|
|||||||
|
|
||||||
if (pipe(fds) == -1) goto error; /* parent -> children data. */
|
if (pipe(fds) == -1) goto error; /* parent -> children data. */
|
||||||
if (pipe(fds+2) == -1) goto error; /* children -> parent ack. */
|
if (pipe(fds+2) == -1) goto error; /* children -> parent ack. */
|
||||||
if (pipe(fds+4) == -1) goto error; /* children -> parent ack. */
|
if (pipe(fds+4) == -1) goto error; /* parent -> children ack. */
|
||||||
/* Parent -> children data is non blocking. */
|
/* Parent -> children data is non blocking. */
|
||||||
if (anetNonBlock(NULL,fds[0]) != ANET_OK) goto error;
|
if (anetNonBlock(NULL,fds[0]) != ANET_OK) goto error;
|
||||||
if (anetNonBlock(NULL,fds[1]) != ANET_OK) goto error;
|
if (anetNonBlock(NULL,fds[1]) != ANET_OK) goto error;
|
||||||
|
Reference in New Issue
Block a user