summaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2010-11-02 17:14:03 +0100
committerPieter Noordhuis <pcnoordhuis@gmail.com>2010-11-02 17:14:03 +0100
commite51ddd7c2ca49beaee361861d1989b2597aac5bd (patch)
tree5eaef18306be9cecc139330b63e3e8548883ca1d /net.c
parentb8b296654d9ecf29ee24d97a2d8f8fa246afa629 (diff)
Make setError receive an sds
Diffstat (limited to 'net.c')
-rw-r--r--net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.c b/net.c
index ebb3c2d..f0f57eb 100644
--- a/net.c
+++ b/net.c
@@ -46,7 +46,7 @@
#include "sds.h"
/* Forward declaration */
-void __redisSetError(redisContext *c, int type, const char *err);
+void __redisSetError(redisContext *c, int type, sds err);
static int redisSetNonBlock(redisContext *c, int fd) {
int flags;