}
-void send_start_messages(struct ctdb_context *ctdb, int incr)
+static void send_start_messages(struct ctdb_context *ctdb, int incr)
{
/* two messages are injected into the ring, moving
in opposite directions */
while (extra_argv[extra_argc]) extra_argc++;
}
+ if (num_nodes == 0) {
+ printf("You must specify the number of nodes\n");
+ exit(1);
+ }
+
ev = event_context_init(NULL);
/* initialise ctdb */