vat: fix socket connection 05/26505/4
authorDave Barach <dave@barachs.net>
Tue, 14 Apr 2020 13:52:26 +0000 (09:52 -0400)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 14 Apr 2020 21:40:46 +0000 (21:40 +0000)
vat_socket_connect(...) needs to set the api main client index. The M2
helper macro needed to allocate a buffer of size sizeof(*mp) + n, not
sizeof(*mp).

Type: fix

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I7abf35d2ba045d82765bd27f88899287fd351602


No differences found