Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Renamed libhiredis.dll to hiredis.dll

  • Loading branch information...
commit 3065162ef57aaf77940d455fcaba2017e22ff6b1 1 parent 92897f0
@dmajkic dmajkic authored
Showing with 5 additions and 4 deletions.
  1. +4 −3 deps/hiredis/Makefile
  2. +1 −1  deps/hiredis/net.c
View
7 deps/hiredis/Makefile
@@ -29,10 +29,11 @@ ifeq ($(uname_S),Darwin)
else ifeq ($(osname),MINGW32_NT)
CFLAGS?= -std=gnu99 -pedantic $(OPTIMIZATION) -Wall -W -D_ISOC99_SOURCE -D__USE_MINGW_ANSI_STDIO=1 -Wwrite-strings $(ARCH) $(PROF)
CCLINK?= -mthreads
- LIBS?= -lws2_32
- DYLIBNAME?=libhiredis.dll
+ LIBS?= -lws2_32
+ LDFLAGS?=-L.
+ DYLIBNAME?=hiredis.dll
DYLIB_MAKE_CMD?=gcc -shared -Wl,-soname,${DYLIBNAME} -o ${DYLIBNAME} ${OBJ} ${LIBS}
- STLIBNAME?=libhiredis.a
+ STLIBNAME?=hiredis.a
STLIB_MAKE_CMD?=ar rcs ${STLIBNAME} ${OBJ}
CC=gcc
else
View
2  deps/hiredis/net.c
@@ -317,7 +317,7 @@ int redisContextConnectTcp(redisContext *c, const char *addr, int port, struct t
he = gethostbyname(addr);
if (he == NULL) {
__redisSetError(c,REDIS_ERR_OTHER,
- sdscatprintf(sdsempty(),"can't resolve: %s\n", addr));
+ sdscatprintf(sdsempty(),"Can't resolve: %s", addr));
closesocket(s);
return REDIS_ERR;;
}
Please sign in to comment.
Something went wrong with that request. Please try again.