Skip to content
Snippets Groups Projects
Commit b4572663 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Merge remote-tracking branch 'origin/fix-opentar-97-for-1-6'

parents 1bd3f2b8 0c89a974
No related branches found
No related tags found
No related merge requests found
......@@ -148,10 +148,11 @@ static inline void
iproto_port_add_tuple(struct port *ptr, struct tuple *tuple)
{
struct iproto_port *port = iproto_port(ptr);
if (++port->found == 1) {
if (port->found == 0) {
/* Found the first tuple, add header. */
port->svp = iproto_prepare_select(port->buf);
}
port->found++;
tuple_to_obuf(tuple, port->buf);
}
......
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