Commit 8c423c0b authored by Huachao Huang's avatar Huachao Huang
Browse files

Update anet.c

parent c54de703
...@@ -402,7 +402,7 @@ int anetRead(int fd, char *buf, int count) ...@@ -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)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment