fix pointer indentation
[oweals/gnunet.git] / src / testbed / generate-underlay-topology.c
index 7857652e03bb8a5e899ecd1b8e249a993e110ba6..726bed1798e492272638516cdbcfb84b7f295a4e 100644 (file)
       WITHOUT ANY WARRANTY; without even the implied warranty of
       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       Affero General Public License for more details.
-     
+
       You should have received a copy of the GNU Affero General Public License
       along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
      SPDX-License-Identifier: AGPL3.0-or-later
-*/
+ */
 
 /**
  * @file testbed/generate-underlay-topology.c
@@ -121,7 +121,7 @@ link_processor (void *cls,
   }
   fprintf (stdout, "%u -> %u\n", A, B);
   GNUNET_break (SQLITE_OK == sqlite3_reset (stmt_insert));
-  //GNUNET_break (SQLITE_OK == sqlite3_clear_bindings (stmt_insert));
+  // GNUNET_break (SQLITE_OK == sqlite3_clear_bindings (stmt_insert));
   if ((SQLITE_OK != sqlite3_bind_int (stmt_insert, 1, B)) ||
       (SQLITE_OK != sqlite3_bind_int (stmt_insert, 2, A)))
   {
@@ -273,6 +273,7 @@ run (void *cls,
       return;
     }
     break;
+
   case GNUNET_TESTBED_TOPOLOGY_FROM_FILE:
     if (NULL == (arg_str1 = args[argc++]))
     {
@@ -281,6 +282,7 @@ run (void *cls,
       return;
     }
     break;
+
   default:
     break;
   }
@@ -300,6 +302,7 @@ run (void *cls,
       return;
     }
     break;
+
   default:
     break;
   }
@@ -316,6 +319,7 @@ run (void *cls,
                                         NULL,
                                         topology);
     break;
+
   case GNUNET_TESTBED_TOPOLOGY_ERDOS_RENYI:
   case GNUNET_TESTBED_TOPOLOGY_SMALL_WORLD_RING:
   case GNUNET_TESTBED_TOPOLOGY_SMALL_WORLD:
@@ -325,6 +329,7 @@ run (void *cls,
                                         topology,
                                         arg_uint1);
     break;
+
   case GNUNET_TESTBED_TOPOLOGY_FROM_FILE:
     GNUNET_TESTBED_underlay_construct_ (num_peers,
                                         link_processor,
@@ -332,6 +337,7 @@ run (void *cls,
                                         topology,
                                         arg_str1);
     break;
+
   case GNUNET_TESTBED_TOPOLOGY_SCALE_FREE:
     GNUNET_TESTBED_underlay_construct_ (num_peers,
                                         link_processor,
@@ -340,6 +346,7 @@ run (void *cls,
                                         arg_uint1,
                                         arg_uint2);
     break;
+
   default:
     GNUNET_assert (0);
   }
@@ -353,13 +360,13 @@ int
 main (int argc, char *const argv[])
 {
   struct GNUNET_GETOPT_CommandLineOption option[] = {
-
     GNUNET_GETOPT_option_uint ('p',
                                "num-peers",
                                "COUNT",
                                gettext_noop ("create COUNT number of peers"),
                                &num_peers),
-    GNUNET_GETOPT_OPTION_END};
+    GNUNET_GETOPT_OPTION_END
+  };
 
   int ret;