gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r16650 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r16650 - gnunet/src/mesh
Date: Tue, 30 Aug 2011 18:04:38 +0200

Author: bartpolot
Date: 2011-08-30 18:04:38 +0200 (Tue, 30 Aug 2011)
New Revision: 16650

Modified:
   gnunet/src/mesh/mesh_api_new.c
   gnunet/src/mesh/mesh_protocol.h
   gnunet/src/mesh/test_mesh_small.c
Log:
indent

Modified: gnunet/src/mesh/mesh_api_new.c
===================================================================
--- gnunet/src/mesh/mesh_api_new.c      2011-08-30 15:44:59 UTC (rev 16649)
+++ gnunet/src/mesh/mesh_api_new.c      2011-08-30 16:04:38 UTC (rev 16650)
@@ -437,8 +437,8 @@
     if (handler->type == type)
     {
       if (GNUNET_OK == handler->callback (h->cls, t, NULL,      /* FIXME ctx */
-                                          peer, payload, NULL)) /* FIXME atsi 
*/
-      {
+                                          peer, payload, NULL))
+      {                         /* FIXME atsi */
         GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                     "MESH: callback completed successfully\n");
       }

Modified: gnunet/src/mesh/mesh_protocol.h
===================================================================
--- gnunet/src/mesh/mesh_protocol.h     2011-08-30 15:44:59 UTC (rev 16649)
+++ gnunet/src/mesh/mesh_protocol.h     2011-08-30 16:04:38 UTC (rev 16650)
@@ -29,7 +29,8 @@
 #ifdef __cplusplus
 extern "C"
 {
-#if 0                           /* keep Emacsens' auto-indent happy */
+#if 0
+  /* keep Emacsens' auto-indent happy */
 }
 #endif
 #endif

Modified: gnunet/src/mesh/test_mesh_small.c
===================================================================
--- gnunet/src/mesh/test_mesh_small.c   2011-08-30 15:44:59 UTC (rev 16649)
+++ gnunet/src/mesh/test_mesh_small.c   2011-08-30 16:04:38 UTC (rev 16650)
@@ -368,8 +368,9 @@
     GNUNET_assert (churn_task == GNUNET_SCHEDULER_NO_TASK);
     churn_task = GNUNET_SCHEDULER_add_now (&churn_peers, NULL);
   }
-  else                          /* No more rounds, let's shut it down! */
-  {
+  else
+  {                             /* No more rounds, let's shut it down! */
+
     stats_context = GNUNET_malloc (sizeof (struct StatsContext));
     GNUNET_SCHEDULER_cancel (shutdown_handle);
     shutdown_handle = GNUNET_SCHEDULER_NO_TASK;
@@ -406,8 +407,8 @@
 {
   char *temp_output_file;
 
-  if (emsg == NULL)             /* Everything is okay! */
-  {
+  if (emsg == NULL)
+  {                             /* Everything is okay! */
     peers_running = peers_next_round;
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                 "Round %llu, churn finished successfully.\n", current_round);
@@ -493,7 +494,6 @@
     GNUNET_TESTING_daemons_stop (pg, TIMEOUT, &shutdown_callback, NULL);
     return;
   }
-
 #if VERBOSE
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer Group started successfully!\n");
 #endif




reply via email to

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