Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

API update #303

Merged
merged 20 commits into from
Dec 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ raftinclude_HEADERS =

lib_LTLIBRARIES = libraft.la
libraft_la_CFLAGS = $(AM_CFLAGS) -fvisibility=hidden
libraft_la_LDFLAGS = -version-info 2:0:0
libraft_la_LDFLAGS = -version-info 3:0:0
libraft_la_SOURCES = \
src/byte.c \
src/client.c \
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AC_PREREQ(2.60)
AC_INIT([raft], [0.16.0])
AC_INIT([raft], [0.17.0])
AC_LANG([C])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([ac])
Expand Down
2 changes: 2 additions & 0 deletions example/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ static int ServerInit(struct Server *s,
s->timer.data = s;

/* Initialize the TCP-based RPC transport. */
s->transport.version = 1;
s->transport.data = NULL;
rv = raft_uv_tcp_init(&s->transport, s->loop);
if (rv != 0) {
goto err;
Expand Down
Loading