You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
772 B

Index: hiredis-0.13.3/hiredis.h
===================================================================
--- hiredis-0.13.3.orig/hiredis.h
+++ hiredis-0.13.3/hiredis.h
@@ -98,7 +98,7 @@
* then GNU strerror_r returned an internal static buffer and we \
* need to copy the result into our private buffer. */ \
if (err_str != (buf)) { \
- buf[(len)] = '\0'; \
+ (buf)[(len)] = '\0'; \
strncat((buf), err_str, ((len) - 1)); \
} \
} while (0)