Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
a391c363
Commit
a391c363
authored
May 28, 2015
by
Salvatore Sanfilippo
Browse files
Merge pull request #2586 from huachaohuang/patch-1
Update anet.c
parents
c3297a72
8c423c0b
Changes
1
Show whitespace changes
Inline
Side-by-side
src/anet.c
View file @
a391c363
...
@@ -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
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment