diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-07 09:51:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-07 09:51:46 +0000 |
commit | c787d89df7c64eceb6145b0a8847736641ea73ca (patch) | |
tree | 4ece28c8e54bacf9b3d9429be374b65db3452013 /src/nat | |
parent | 117a6b2f87eab48523f3ecd0d72d28ad9903c849 (diff) | |
download | gnunet-c787d89df7c64eceb6145b0a8847736641ea73ca.tar.gz gnunet-c787d89df7c64eceb6145b0a8847736641ea73ca.zip |
-removing spectacular dead code
Diffstat (limited to 'src/nat')
-rw-r--r-- | src/nat/nat_stun.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/nat/nat_stun.c b/src/nat/nat_stun.c index 66b4265a8..2ed78030f 100644 --- a/src/nat/nat_stun.c +++ b/src/nat/nat_stun.c | |||
@@ -445,18 +445,6 @@ stun_dns_callback (void *cls, | |||
445 | int reqlen; | 445 | int reqlen; |
446 | struct sockaddr_in server; | 446 | struct sockaddr_in server; |
447 | 447 | ||
448 | if (NULL == request) | ||
449 | { | ||
450 | if (GNUNET_NO == request->dns_success) | ||
451 | { | ||
452 | LOG (GNUNET_ERROR_TYPE_INFO, | ||
453 | "Empty request\n"); | ||
454 | request->cb (request->cb_cls, | ||
455 | GNUNET_NAT_ERROR_INTERNAL_NETWORK_ERROR); | ||
456 | clean (request); | ||
457 | } | ||
458 | return; | ||
459 | } | ||
460 | if (NULL == addr) | 448 | if (NULL == addr) |
461 | { | 449 | { |
462 | request->dns_active = NULL; | 450 | request->dns_active = NULL; |