Skip to content
Snippets Groups Projects
Commit 1110107f authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Merge branch 'master' of github.com:mailru/tarantool

parents f0da9e84 1a54e644
No related branches found
No related tags found
No related merge requests found
...@@ -175,10 +175,10 @@ include_directories("${PROJECT_SOURCE_DIR}/connector/c/tntnet/include") ...@@ -175,10 +175,10 @@ include_directories("${PROJECT_SOURCE_DIR}/connector/c/tntnet/include")
# Specify prefixes # Specify prefixes
# #
if (NOT DEFINED CMAKE_SYSCONF_DIR) if (NOT DEFINED CMAKE_SYSCONF_DIR)
set (CMAKE_SYSCONF_DIR "${CMAKE_INSTALL_PREFIX}/etc") set (CMAKE_SYSCONF_DIR "etc")
endif() endif()
if (NOT DEFINED CMAKE_LOCALSTATE_DIR) if (NOT DEFINED CMAKE_LOCALSTATE_DIR)
set (CMAKE_LOCALSTATE_DIR "${CMAKE_INSTALL_PREFIX}/var") set (CMAKE_LOCALSTATE_DIR "var")
endif() endif()
# #
......
...@@ -116,7 +116,7 @@ tnt_buf_reply(struct tnt_stream *s, struct tnt_reply *r) { ...@@ -116,7 +116,7 @@ tnt_buf_reply(struct tnt_stream *s, struct tnt_reply *r) {
if (sb->size == sb->rdoff) if (sb->size == sb->rdoff)
return 1; return 1;
size_t off = 0; size_t off = 0;
int rc = tnt_reply(r, s->data + sb->rdoff, sb->size - sb->rdoff, &off); int rc = tnt_reply(r, sb->data + sb->rdoff, sb->size - sb->rdoff, &off);
if (rc == 0) if (rc == 0)
sb->rdoff += off; sb->rdoff += off;
return rc; return rc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment