Commit 2444c701 authored by SAWADA Kentaro's avatar SAWADA Kentaro

Fix Coverity Scan CID 340273

parent c81f312b
...@@ -402,7 +402,7 @@ static int socket_udp_receive(int socket_fd, void *buf, int size) ...@@ -402,7 +402,7 @@ static int socket_udp_receive(int socket_fd, void *buf, int size)
LOG_D(PROTO_AGENT,"UDP RECEIVE\n"); LOG_D(PROTO_AGENT,"UDP RECEIVE\n");
struct sockaddr_in client; struct sockaddr_in client;
socklen_t slen; socklen_t slen = 0;
int l; int l;
l = recvfrom(socket_fd, buf, size, 0, (struct sockaddr *) &client, &slen); l = recvfrom(socket_fd, buf, size, 0, (struct sockaddr *) &client, &slen);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment