[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r2494 - GNUnet/src/transports
From: |
grothoff |
Subject: |
[GNUnet-SVN] r2494 - GNUnet/src/transports |
Date: |
Sat, 11 Mar 2006 22:31:22 -0800 (PST) |
Author: grothoff
Date: 2006-03-11 22:31:20 -0800 (Sat, 11 Mar 2006)
New Revision: 2494
Modified:
GNUnet/src/transports/http.c
GNUnet/src/transports/udp.c
Log:
debug-only
Modified: GNUnet/src/transports/http.c
===================================================================
--- GNUnet/src/transports/http.c 2006-03-12 06:06:08 UTC (rev 2493)
+++ GNUnet/src/transports/http.c 2006-03-12 06:31:20 UTC (rev 2494)
@@ -1101,9 +1101,11 @@
_("HTTP: Could not determine my public IP address.\n"));
return NULL;
}
+#if DEBUG_HTTP
LOG(LOG_DEBUG,
"HTTP uses IP address %u.%u.%u.%u.\n",
PRIP(ntohl(*(int*)&haddr->ip)));
+#endif
haddr->port = htons(port);
haddr->reserved = htons(0);
msg->senderAddressSize = htons(sizeof(HostAddress));
Modified: GNUnet/src/transports/udp.c
===================================================================
--- GNUnet/src/transports/udp.c 2006-03-12 06:06:08 UTC (rev 2493)
+++ GNUnet/src/transports/udp.c 2006-03-12 06:31:20 UTC (rev 2494)
@@ -403,9 +403,11 @@
_("UDP: Could not determine my public IP address.\n"));
return NULL;
}
+#if DEBUG_UDP
LOG(LOG_DEBUG,
"UDP uses IP address %u.%u.%u.%u.\n",
PRIP(ntohl(*(int*)&haddr->senderIP)));
+#endif
if (udp_shutdown == YES)
haddr->senderPort = htons(getGNUnetUDPPort());
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r2494 - GNUnet/src/transports,
grothoff <=