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
hiredis
Commits
29cb95f4
Commit
29cb95f4
authored
Mar 22, 2017
by
Jan-Erik Rediger
Committed by
GitHub
Mar 22, 2017
Browse files
Merge pull request #513 from i110/master
suppress gcc complaint
parents
c9b72f97
2ec7740c
Changes
1
Show whitespace changes
Inline
Side-by-side
hiredis.h
View file @
29cb95f4
...
...
@@ -99,7 +99,7 @@
* need to copy the result into our private buffer. */
\
if (err_str != (buf)) { \
strncpy((buf), err_str, ((len) - 1)); \
buf[(len)-1] = '\0'; \
(
buf
)
[(len)-1] = '\0'; \
} \
} while (0)
#endif
...
...
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