mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 17:51:21 +00:00
Update anet.c
This commit is contained in:
@ -402,7 +402,7 @@ int anetRead(int fd, char *buf, int count)
|
|||||||
return totlen;
|
return totlen;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Like write(2) but make sure 'count' is read before to return
|
/* Like write(2) but make sure 'count' is written before to return
|
||||||
* (unless error is encountered) */
|
* (unless error is encountered) */
|
||||||
int anetWrite(int fd, char *buf, int count)
|
int anetWrite(int fd, char *buf, int count)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user