vcl: fix build with older gcc
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ic941065aa7d7c0002863a6391c8914089c438445
This commit is contained in:

committed by
Dave Barach

parent
02cc719d98
commit
cba1c2258b
@ -1669,7 +1669,7 @@ sendmsg (int fd, const struct msghdr * msg, int flags)
|
||||
{
|
||||
struct iovec *iov = msg->msg_iov;
|
||||
ssize_t total = 0;
|
||||
int i, rv;
|
||||
int i, rv = 0;
|
||||
|
||||
for (i = 0; i < msg->msg_iovlen; ++i)
|
||||
{
|
||||
|
Reference in New Issue
Block a user