VCM log requests not for ego
This commit is contained in:
parent
3bc140e1f1
commit
c665d23381
|
|
@ -71,6 +71,7 @@ static int vcm_check_handle_request(facilities_t* facilities, VCM_t* vcm, mc_nei
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!is_req4me) {
|
if (!is_req4me) {
|
||||||
|
syslog_debug("[facilities] [vc] received VCM.request not affecting me");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -361,7 +362,7 @@ static int vcm_check_intersection_detected(facilities_t* facilities, VCM_t* vcm,
|
||||||
pt->priority = 1;
|
pt->priority = 1;
|
||||||
pt->id = 0;
|
pt->id = 0;
|
||||||
pt->affectingStations.list.count = 1;
|
pt->affectingStations.list.count = 1;
|
||||||
pt->affectingStations.list.size = 1* sizeof(void*);
|
pt->affectingStations.list.size = 1*sizeof(void*);
|
||||||
pt->affectingStations.list.array = malloc(sizeof(void*));
|
pt->affectingStations.list.array = malloc(sizeof(void*));
|
||||||
pt->affectingStations.list.array[0] = malloc(sizeof(long long));
|
pt->affectingStations.list.array[0] = malloc(sizeof(long long));
|
||||||
*pt->affectingStations.list.array[0] = neighbour->station_id;
|
*pt->affectingStations.list.array[0] = neighbour->station_id;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue