Commit a391c363 authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo
Browse files

Merge pull request #2586 from huachaohuang/patch-1

Update anet.c
parents c3297a72 8c423c0b
...@@ -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