commit c787d89df7c64eceb6145b0a8847736641ea73ca parent 117a6b2f87eab48523f3ecd0d72d28ad9903c849 Author: Christian Grothoff <christian@grothoff.org> Date: Wed, 7 Oct 2015 09:51:46 +0000 -removing spectacular dead code Diffstat:
| M | src/nat/nat_stun.c | | | 12 | ------------ |
1 file changed, 0 insertions(+), 12 deletions(-)
diff --git a/src/nat/nat_stun.c b/src/nat/nat_stun.c @@ -445,18 +445,6 @@ stun_dns_callback (void *cls, int reqlen; struct sockaddr_in server; - if (NULL == request) - { - if (GNUNET_NO == request->dns_success) - { - LOG (GNUNET_ERROR_TYPE_INFO, - "Empty request\n"); - request->cb (request->cb_cls, - GNUNET_NAT_ERROR_INTERNAL_NETWORK_ERROR); - clean (request); - } - return; - } if (NULL == addr) { request->dns_active = NULL;