remove dump getaddrinfo result
authorAndy Green <andy@warmcat.com>
Fri, 3 Feb 2017 12:55:56 +0000 (20:55 +0800)
committerAndy Green <andy@warmcat.com>
Fri, 3 Feb 2017 12:55:56 +0000 (20:55 +0800)
lib/client-handshake.c

index 3b6983c2245553176da49856bc4074163856356e..2825be07c85ece919fb0b2ebff54590399f38b6c 100644 (file)
@@ -115,7 +115,6 @@ lws_client_connect_2(struct lws *wsi)
        {
                struct addrinfo ai, *res, *result = NULL;
                void *p = NULL;
-               unsigned char *p1;
 
                memset (&ai, 0, sizeof ai);
                ai.ai_family = PF_UNSPEC;
@@ -145,10 +144,6 @@ lws_client_connect_2(struct lws *wsi)
                        goto oom4;
                }
 
-               p1 = p;
-               lwsl_debug("getaddrinfo %s -> %d.%d.%d.%d\n", ads,
-                       p1[0], p1[1], p1[2], p1[3]);
-
                server_addr4.sin_family = AF_INET;
                server_addr4.sin_addr = *((struct in_addr *)p);
                bzero(&server_addr4.sin_zero, 8);