aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/hiredis
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-28 17:27:22 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-28 17:35:16 +0000
commitdb9dff1c16de0464a14e971fa3ed1f44209f62b4 (patch)
tree67f62700859c7934a2f2e97d5036cd7d101fbc06 /contrib/hiredis
parent60ca081d3ca1dc82f9e8be4df6a8e562c444aff2 (diff)
downloadrspamd-db9dff1c16de0464a14e971fa3ed1f44209f62b4.tar.gz
rspamd-db9dff1c16de0464a14e971fa3ed1f44209f62b4.zip
[Minor] Fix broken usage of strerror_r
Diffstat (limited to 'contrib/hiredis')
-rw-r--r--contrib/hiredis/hiredis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/hiredis/hiredis.h b/contrib/hiredis/hiredis.h
index 62a903c0a..153bfd7a6 100644
--- a/contrib/hiredis/hiredis.h
+++ b/contrib/hiredis/hiredis.h
@@ -94,7 +94,7 @@
/* "bad" GNU strerror_r we need to clean up after. */
#define __redis_strerror_r(errno, buf, len) \
do { \
- char *err_str = strerror_r((errno), (buf), (len)); \
+ char *err_str = strerror((errno)); \
/* If return value _isn't_ the start of the buffer we passed in, \
* then GNU strerror_r returned an internal static buffer and we \
* need to copy the result into our private buffer. */ \