Skip to content

Commit

Permalink
Renamed libhiredis.dll to hiredis.dll
Browse files Browse the repository at this point in the history
  • Loading branch information
dmajkic committed Jan 14, 2012
1 parent 92897f0 commit 3065162
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions deps/hiredis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion deps/hiredis/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;;
}
Expand Down

0 comments on commit 3065162

Please sign in to comment.