From 1a54e6447757d2ad8fa498886d441c6cb826b13d Mon Sep 17 00:00:00 2001
From: Dmitry Simonenko <pmwkaa@gmail.com>
Date: Wed, 1 Feb 2012 19:03:41 +0400
Subject: [PATCH] connector-c: tnt_buf stream typo fix.

---
 connector/c/tnt/tnt_buf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/connector/c/tnt/tnt_buf.c b/connector/c/tnt/tnt_buf.c
index 6137a7d986..6eae0d467a 100644
--- a/connector/c/tnt/tnt_buf.c
+++ b/connector/c/tnt/tnt_buf.c
@@ -116,7 +116,7 @@ tnt_buf_reply(struct tnt_stream *s, struct tnt_reply *r) {
 	if (sb->size == sb->rdoff)
 		return 1;
 	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)
 		sb->rdoff += off;
 	return rc;
-- 
GitLab