Commit e01e29b3 authored by Remi Denis-Courmont's avatar Remi Denis-Courmont

Add missing const qualifiers

darcs-hash:20061018065440-9301c-0a3a0cdcafb7b943602a9b3a54a73c5f824a3374.gz
parent 8e1435db
......@@ -587,7 +587,7 @@ void report_histogram(char const *title, histogram_t const *h)
int report(context_t const *ctx)
{
options_t *o = ctx->options;
const options_t *o = ctx->options;
uint64_t n = ctx->messages;
if (!n)
......@@ -604,7 +604,7 @@ int report(context_t const *ctx)
(ull)n, ctx->time, (double)n / ctx->time);
if (o->o_sipstats) {
sipstats_t *ss = ctx->sipstats;
const sipstats_t *ss = ctx->sipstats;
report_sipstat("requests", &ss->req);
report_sipstat("responses", &ss->resp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment