Skip to content
Snippets Groups Projects
Commit 229e5171 authored by Fredrik Thulin's avatar Fredrik Thulin
Browse files

_connect_to_host_port: Add missing break statement.

parent 52c4f332
No related branches found
No related tags found
No related merge requests found
......@@ -374,6 +374,7 @@ static int _connect_to_host_port(char *host, char *port)
goto next;
}
break;
next:
close(sock);
sock = -1;
......
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