From: Sree Harsha Totakura Date: Thu, 30 Aug 2012 19:53:49 +0000 (+0000) Subject: peer_create starts with 0 X-Git-Tag: initial-import-from-subversion-38251~12016 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=acee5f224558cdb888c674f71de12ad8325fd340;p=oweals%2Fgnunet.git peer_create starts with 0 --- diff --git a/src/testbed/testbed_api_peers.c b/src/testbed/testbed_api_peers.c index f80e5a904..28110d1f1 100644 --- a/src/testbed/testbed_api_peers.c +++ b/src/testbed/testbed_api_peers.c @@ -472,7 +472,7 @@ GNUNET_TESTBED_peer_create (struct GNUNET_TESTBED_Controller *controller, { static uint32_t id_gen; - return GNUNET_TESTBED_peer_create_with_id_ (++id_gen, + return GNUNET_TESTBED_peer_create_with_id_ (id_gen++, controller, host, cfg,