Merge pull request #2586 from huachaohuang/patch-1

Update anet.c
This commit is contained in:
Salvatore Sanfilippo 2015-05-28 15:10:25 +02:00
commit a391c36324

View File

@ -402,7 +402,7 @@ int anetRead(int fd, char *buf, int count)
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) */
int anetWrite(int fd, char *buf, int count)
{