tighten formatting rules
[oweals/gnunet.git] / src / topology / test_gnunet_daemon_topology.c
index f6d0e2c2b1c0006c1b8324935236e94d7c584c68..a7dace383db7ff7c2587eecc23c579a2f39ef3c2 100644 (file)
@@ -98,6 +98,7 @@ shutdown_task (void *cls)
     GNUNET_SCHEDULER_cancel (timeout_tid);
 }
 
+
 static void
 timeout_task (void *cls)
 {
@@ -109,6 +110,7 @@ timeout_task (void *cls)
   GNUNET_SCHEDULER_shutdown ();
 }
 
+
 /*
  * The function is called every time the topology of connected
  * peers to a peer changes.
@@ -131,7 +133,7 @@ statistics_iterator (void *cls,
   if (p_ctx->connections < value)
     p_ctx->connections = value;
 
-  if ((THRESHOLD <= value)&&(GNUNET_NO == p_ctx->reported))
+  if ((THRESHOLD <= value) && (GNUNET_NO == p_ctx->reported))
   {
     p_ctx->reported = GNUNET_YES;
     checked_peers++;
@@ -153,6 +155,7 @@ statistics_iterator (void *cls,
   return GNUNET_YES;
 }
 
+
 static void *
 ca_statistics (void *cls,
                const struct GNUNET_CONFIGURATION_Handle *cfg)
@@ -203,6 +206,7 @@ service_connect_complete (void *cls,
                 "call to GNUNET_STATISTICS_watch() failed\n");
 }
 
+
 static void
 notify_connect_complete (void *cls,
                          struct GNUNET_TESTBED_Operation *op,
@@ -219,6 +223,7 @@ notify_connect_complete (void *cls,
   connect_left--;
 }
 
+
 static void
 do_connect (void *cls,
             struct GNUNET_TESTBED_RunHandle *h,
@@ -286,4 +291,5 @@ main (int argc, char *argv[])
   return (GNUNET_OK != result) ? 1 : 0;
 }
 
+
 /* end of test_gnunet_daemon_topology.c */