From: Nathan S. Evans Date: Wed, 18 Aug 2010 15:51:48 +0000 (+0000) Subject: windoze suckssss X-Git-Tag: initial-import-from-subversion-38251~20630 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c57f499b1433673ff2932694c963234bfc762033;p=oweals%2Fgnunet.git windoze suckssss --- diff --git a/src/transport/gnunet-nat-server-windows.c b/src/transport/gnunet-nat-server-windows.c index 948a6b2a8..5ed4b49b1 100644 --- a/src/transport/gnunet-nat-server-windows.c +++ b/src/transport/gnunet-nat-server-windows.c @@ -80,7 +80,7 @@ typedef int Socket; */ #define DUMMY_IP "192.0.2.86" -#define VERBOSE 0 +#define VERBOSE 1 /** * How often do we send our ICMP messages to receive replies? @@ -251,7 +251,11 @@ process_icmp_response () return; } have_port = 0; - +#if VERBOSE + fprintf (stderr, + "Received message of %u bytes\n", + (unsigned int) have); +#endif if (have == sizeof (struct ip_packet) *2 + sizeof (struct icmp_packet) * 2 + sizeof(uint32_t)) { have_port = 1;