gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r37519 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r37519 - gnunet/src/transport
Date: Sun, 10 Jul 2016 03:24:10 +0200

Author: grothoff
Date: 2016-07-10 03:24:09 +0200 (Sun, 10 Jul 2016)
New Revision: 37519

Modified:
   gnunet/src/transport/test_quota_compliance.c
Log:
more minor fixes

Modified: gnunet/src/transport/test_quota_compliance.c
===================================================================
--- gnunet/src/transport/test_quota_compliance.c        2016-07-10 01:22:26 UTC 
(rev 37518)
+++ gnunet/src/transport/test_quota_compliance.c        2016-07-10 01:24:09 UTC 
(rev 37519)
@@ -55,10 +55,6 @@
 static struct GNUNET_TRANSPORT_TESTING_ConnectCheckContext *ccc;
 
 
-/*
- * Testcase specific declarations
- */
-
 /**
  * Note that this value must not significantly exceed
  * 'MAX_PENDING' in 'gnunet-service-transport.c', otherwise
@@ -72,11 +68,13 @@
 struct TestMessage
 {
   struct GNUNET_MessageHeader header;
-  uint32_t num;
+
+  uint32_t num GNUNET_PACKED;
 };
 GNUNET_NETWORK_STRUCT_END
 
 static int msg_scheduled;
+
 static int msg_sent;
 
 static unsigned long long total_bytes_sent;
@@ -83,17 +81,7 @@
 
 static struct GNUNET_TIME_Absolute start_time;
 
-/*
- * END Testcase specific declarations
- */
 
-#if VERBOSE
-#define OKPP do { ok++; FPRINTF (stderr, "Now at stage %u at %s:%u\n", ok, 
__FILE__, __LINE__); } while (0)
-#else
-#define OKPP do { ok++; } while (0)
-#endif
-
-
 static void
 report ()
 {




reply via email to

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