We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68a36e3 commit 4b9d897Copy full SHA for 4b9d897
src/tarantool.c
@@ -123,7 +123,7 @@ tarantool_stream_send(tarantool_object *obj) {
123
*/
124
static size_t
125
tarantool_stream_read(tarantool_object *obj, char *buf, size_t size) {
126
- return tntll_stream_read(obj->stream, buf, size);
+ return tntll_stream_read2(obj->stream, buf, size);
127
}
128
129
static void
@@ -173,8 +173,8 @@ int __tarantool_connect(tarantool_object *obj, zval *id) {
173
&obj->stream, &err) == -1) {
174
continue;
175
176
- if (tntll_stream_read(obj->stream, obj->greeting,
177
- GREETING_SIZE) == -1) {
+ if (tntll_stream_read2(obj->stream, obj->greeting,
+ GREETING_SIZE) == -1) {
178
179
180
obj->salt = obj->greeting + SALT_PREFIX_SIZE;
0 commit comments