Skip to content

Commit

Permalink
test programs compile OK.
Browse files Browse the repository at this point in the history
  • Loading branch information
happyfish100 committed Sep 14, 2022
1 parent 522bd50 commit 6befb09
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion HISTORY
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Version 6.09 2022-09-11
* use libfastcommon V1.60 and libserverframe 1.1.18
* use libfastcommon V1.60 and libserverframe 1.1.19

Version 6.08 2022-06-21
* use libfastcommon V1.56
Expand Down
6 changes: 3 additions & 3 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

COMPILE = $(CC) -g -Wall -O -D_FILE_OFFSET_BITS=64 -DDEBUG
INC_PATH = -I/usr/local/include
LIB_PATH = -L/usr/local/lib -lfdfsclient -lfastcommon
LIB_PATH = -L/usr/local/lib -lfdfsclient -lfastcommon -lserverframe
TARGET_PATH = $(TARGET_PREFIX)/bin

SHARED_OBJS = common_func.o dfs_func.o
#SHARED_OBJS = common_func.o dfs_func_pc.o
#SHARED_OBJS = common_func.o dfs_func.o
SHARED_OBJS = common_func.o dfs_func_pc.o

ALL_OBJS = $(SHARED_OBJS)

Expand Down
4 changes: 2 additions & 2 deletions test/dfs_func_pc.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static ConnectionInfo *getConnectedStorageServer(
if (pServer->sock < 0)
{
*err_no = conn_pool_connect_server(pServer, \
g_fdfs_connect_timeout);
SF_G_CONNECT_TIMEOUT);
if (*err_no != 0)
{
return NULL;
Expand All @@ -47,7 +47,7 @@ static ConnectionInfo *getConnectedStorageServer(
memcpy(pServer, pStorageServer, sizeof(ConnectionInfo));
pServer->sock = -1;
if ((*err_no=conn_pool_connect_server(pServer, \
g_fdfs_connect_timeout)) != 0)
SF_G_CONNECT_TIMEOUT)) != 0)
{
return NULL;
}
Expand Down

0 comments on commit 6befb09

Please sign in to comment.