old_hosts = rc->hosts;
rc->hosts =
GNUNET_malloc (sizeof (struct GNUNET_TESTBED_Host *) * rc->num_hosts);
- memcpy (rc->hosts, &old_hosts[1],
+ GNUNET_memcpy (rc->hosts, &old_hosts[1],
(sizeof (struct GNUNET_TESTBED_Host *) * rc->num_hosts));
GNUNET_free (old_hosts);
}
goto error_cleanup;
}
goto warn_ignore;
+ case GNUNET_TESTBED_TOPOLOGY_OPTION_END:
+ /* not allowed! */
+ GNUNET_assert (0);
default:
warn_ignore:
/* Warn if OVERLAY_RANDOM_LINKS is present that it will be ignored */