Skip to content
Snippets Groups Projects
Commit ef9c2277 authored by SAWADA Kentaro's avatar SAWADA Kentaro
Browse files

Fix Coverity Scan CID 340288

parent 4085349b
No related branches found
No related tags found
No related merge requests found
...@@ -228,7 +228,7 @@ socket_link_t *new_link_udp_client(const char *server, int port){ ...@@ -228,7 +228,7 @@ socket_link_t *new_link_udp_client(const char *server, int port){
struct sockaddr_in si_other; struct sockaddr_in si_other;
int s; int s;
socklen_t slen; socklen_t slen = 0;
if ( (s=socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1){ if ( (s=socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1){
goto error; goto error;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment