Revision 004f49eb topology.c

View differences:

topology.c
42 42
static void update_metadata(void) {
43 43

  
44 44
#ifndef MONL
45
	my_metadata = 1 + ceil(((double)rand() / (double)RAND_MAX)*1000);
45
	my_metadata = 1 + (((double)rand() / (double)RAND_MAX)*1000);
46 46
#endif
47 47
#ifdef MONL
48 48
	my_metadata = get_receive_delay();

Also available in: Unified diff