encrypted_section_len, &elapsed)) {
log_warn(LD_REND, "Possible replay detected! An INTRODUCE2 cell with the"
"same ENCRYPTED section was seen %ld seconds ago. "
- "Dropping cell.", elapsed);
+ "Dropping cell.", (long int) elapsed);
goto done;
}
safe_str_client(
extend_info_describe(circ->build_state->chosen_exit)),
circ->build_state->failure_count,
- circ->build_state->expiry_time);
+ (long int) circ->build_state->expiry_time);
goto disallow;
}
* cell), we are already trying to connect to that rend point (and may
* have already succeeded); drop this cell. */
log_info(LD_REND, "We received an INTRODUCE2 cell with same REND_COOKIE "
- "field %ld seconds ago. Dropping cell.", elapsed);
+ "field %ld seconds ago. Dropping cell.",
+ (long int) elapsed);
goto done;
}
safe_str_client(service->onion_address),
get_max_intro_circ_per_period(service),
INTRO_CIRC_RETRY_PERIOD,
- service->state.num_intro_circ_launched, elapsed_time,
- INTRO_CIRC_RETRY_PERIOD - elapsed_time);
+ service->state.num_intro_circ_launched,
+ (long int) elapsed_time,
+ (long int) INTRO_CIRC_RETRY_PERIOD - elapsed_time);
tor_free(msg);
}
}