gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r36462 - gnunet/src/nat


From: gnunet
Subject: [GNUnet-SVN] r36462 - gnunet/src/nat
Date: Wed, 7 Oct 2015 11:51:46 +0200

Author: grothoff
Date: 2015-10-07 11:51:46 +0200 (Wed, 07 Oct 2015)
New Revision: 36462

Modified:
   gnunet/src/nat/nat_stun.c
Log:
-removing spectacular dead code

Modified: gnunet/src/nat/nat_stun.c
===================================================================
--- gnunet/src/nat/nat_stun.c   2015-10-07 09:51:33 UTC (rev 36461)
+++ gnunet/src/nat/nat_stun.c   2015-10-07 09:51:46 UTC (rev 36462)
@@ -445,18 +445,6 @@
   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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]