From cdfe7b302dd369782013df516963778f0344ff69 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Sun, 9 Aug 2020 20:24:52 -0400 Subject: [PATCH] Fix broken initiailization of struct --- indra/llmessage/net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llmessage/net.cpp b/indra/llmessage/net.cpp index 523bcbb60d1..739cde0d12f 100644 --- a/indra/llmessage/net.cpp +++ b/indra/llmessage/net.cpp @@ -529,7 +529,7 @@ static int recvfrom_destip( int socket, void *buf, int len, struct sockaddr *fro struct iovec iov[1]; char cmsg[CMSG_SPACE(sizeof(struct in_pktinfo))]; struct cmsghdr *cmsgptr; - struct msghdr msg = {0}; + struct msghdr msg = {}; iov[0].iov_base = buf; iov[0].iov_len = len; -- GitLab