gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r4970 - in GNUnet/src: transports util/network


From: gnunet
Subject: [GNUnet-SVN] r4970 - in GNUnet/src: transports util/network
Date: Fri, 8 Jun 2007 16:31:08 -0600 (MDT)

Author: grothoff
Date: 2007-06-08 16:31:08 -0600 (Fri, 08 Jun 2007)
New Revision: 4970

Modified:
   GNUnet/src/transports/udp_helper.c
   GNUnet/src/util/network/ip.c
   GNUnet/src/util/network/select.c
Log:
fix

Modified: GNUnet/src/transports/udp_helper.c
===================================================================
--- GNUnet/src/transports/udp_helper.c  2007-06-08 22:21:28 UTC (rev 4969)
+++ GNUnet/src/transports/udp_helper.c  2007-06-08 22:31:08 UTC (rev 4970)
@@ -123,12 +123,6 @@
   if (NO != blt(addr,
                addr_len))
     return NULL;
-#if DEBUG_UDP
-  GE_LOG(ectx,
-        GE_DEBUG | GE_USER | GE_BULK,
-        "Accepting UDP message from %u.%u.%u.%u\n",
-        PRIP(ntohl(*(int*)addr)));
-#endif
   return &nonnullpointer;
 }
 

Modified: GNUnet/src/util/network/ip.c
===================================================================
--- GNUnet/src/util/network/ip.c        2007-06-08 22:21:28 UTC (rev 4969)
+++ GNUnet/src/util/network/ip.c        2007-06-08 22:31:08 UTC (rev 4970)
@@ -362,11 +362,11 @@
   retval = SYSERR;
   if (GC_have_configuration_value(cfg,
                                  "NETWORK",
-                                 "IP-LOCAL")) {        
+                                 "IP")) {      
     ipString = NULL;
     GC_get_configuration_value_string(cfg,
                                      "NETWORK",
-                                     "IP-LOCAL",
+                                     "IP",
                                      "",
                                      &ipString);
     if (strlen(ipString) > 0) {

Modified: GNUnet/src/util/network/select.c
===================================================================
--- GNUnet/src/util/network/select.c    2007-06-08 22:21:28 UTC (rev 4969)
+++ GNUnet/src/util/network/select.c    2007-06-08 22:31:08 UTC (rev 4970)
@@ -679,6 +679,13 @@
                            clientAddr,
                            lenOfIncomingAddr);
              if (sctx != NULL) {
+#if DEBUG_SELECT
+               GE_LOG(sh->ectx,
+                      GE_DEBUG | GE_DEVELOPER | GE_BULK,
+                      "Select %p is passing %u bytes from UDP to handler\n",
+                      sh,
+                      size);
+#endif
                sh->mh(sh->mh_cls,
                       sh,
                       NULL,





reply via email to

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