Skip to content
Snippets Groups Projects
Commit 1a54e644 authored by Dmitry Simonenko's avatar Dmitry Simonenko
Browse files

connector-c: tnt_buf stream typo fix.

parent 8265ff2c
No related branches found
No related tags found
No related merge requests found
...@@ -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