diff options
Diffstat (limited to 'extras/libmemif/src/main.c')
-rw-r--r-- | extras/libmemif/src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/libmemif/src/main.c b/extras/libmemif/src/main.c index 49427670b07..8cc0d66a75b 100644 --- a/extras/libmemif/src/main.c +++ b/extras/libmemif/src/main.c @@ -1843,8 +1843,8 @@ memif_rx_burst (memif_conn_handle_t conn, uint16_t qid, b1->desc_index = mq->last_head; i = 0; - b0->data_len = 0; - b0->buffer_len = 0; + b1->data_len = 0; + b1->buffer_len = 0; b1->data = memif_get_buffer (conn, ring, mq->last_head); b1->data_len += ring->desc[mq->last_head].length; |