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
2ec7740c
Commit
2ec7740c
authored
Mar 22, 2017
by
Ichito Nagata
Browse files
suppress gcc complaint
parent
c9b72f97
Changes
1
Hide whitespace changes
Inline
Side-by-side
hiredis.h
View file @
2ec7740c
...
...
@@ -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