Fix stupid bug
This commit is contained in:
parent
ca8eddc0ad
commit
6c276ae3c7
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ void rr_deliver(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo, struct
|
|||
// 2. Get the buffer and update rr state
|
||||
struct buffer_packet* bp = get_app_buffer (app_ctx, &dp->idx);
|
||||
int idx_real = bp->ip.ap.str.id % PACKET_BUFFER_SIZE;
|
||||
rr->wait[idx_real].on = 0;
|
||||
rr->real[idx_real].on = 0;
|
||||
//printf("Selected url %s for pkt %d to be delivered\n", fdinfo->url, bp->ip.ap.str.id);
|
||||
|
||||
// 3. We update our cursor
|
||||
|
|
Loading…
Reference in a new issue