(no commit message)
authorNathan S. Evans <evans@in.tum.de>
Tue, 8 Mar 2011 13:37:28 +0000 (13:37 +0000)
committerNathan S. Evans <evans@in.tum.de>
Tue, 8 Mar 2011 13:37:28 +0000 (13:37 +0000)
src/testing/testing_group.c

index 0da1131bae400b36fe91b779d516022187bfd6fb..84f32cc2f7ae376dc77a9cfdc82ce474275f5843 100644 (file)
@@ -2552,6 +2552,7 @@ create_from_file(struct GNUNET_TESTING_PeerGroup *pg, char *filename,
 
   buf = data;
   count = 0;
+  first_peer_index = 0;
   /* First line should contain a single integer, specifying the number of peers */
   /* Each subsequent line should contain this format PEER_INDEX:OTHER_PEER_INDEX[,...] */
   curr_state = NUM_PEERS;