summaryrefslogtreecommitdiff
path: root/src/lib/dlt_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dlt_client.c')
-rw-r--r--src/lib/dlt_client.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/dlt_client.c b/src/lib/dlt_client.c
index 4530aff..25c311f 100644
--- a/src/lib/dlt_client.c
+++ b/src/lib/dlt_client.c
@@ -171,7 +171,6 @@ DltReturnValue dlt_client_init(DltClient *client, int verbose)
DltReturnValue dlt_client_connect(DltClient *client, int verbose)
{
const int yes = 1;
- int connect_errno = 0;
char portnumbuffer[33];
struct addrinfo hints, *servinfo, *p;
struct sockaddr_un addr;
@@ -207,7 +206,6 @@ DltReturnValue dlt_client_connect(DltClient *client, int verbose)
}
if (connect(client->sock, p->ai_addr, p->ai_addrlen) < 0) {
- connect_errno = errno;
close(client->sock);
continue;
}