-/* $OpenBSD: mta.c,v 1.186 2014/04/19 13:32:07 gilles Exp $ */
+/* $OpenBSD: mta.c,v 1.187 2014/05/20 18:47:01 eric Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
m_add_evpid(p_queue, evp.id);
m_add_id(p_queue, relay->id);
m_close(p_queue);
- mta_relay_unref(relay);
+ mta_relay_unref(relay); /* from here */
return;
}
m_close(p_queue);
}
else {
- log_warnx("warn: bad delivery type %i for %016" PRIx64,
+ log_warnx("warn: bad delivery type %d for %016" PRIx64,
e->delivery, e->id);
fatalx("aborting");
}
else if (delivery == IMSG_MTA_DELIVERY_LOOP)
mta_log(e, "PermFail", source, relay, "Loop detected");
else {
- log_warnx("warn: bad delivery type %i for %016" PRIx64,
+ log_warnx("warn: bad delivery type %d for %016" PRIx64,
delivery, e->id);
fatalx("aborting");
}
}
if (c->flags & CONNECTOR_WAIT) {
- log_debug("debug: mta: canceling connector timeout");
+ log_debug("debug: mta: cancelling connector timeout");
runq_cancel(runq_connector, NULL, c);
}
mta_connector_to_text(c));
if (c->flags & CONNECTOR_WAIT) {
- log_debug("debug: mta: canceling timeout for %s",
+ log_debug("debug: mta: cancelling timeout for %s",
mta_connector_to_text(c));
runq_cancel(runq_connector, NULL, c);
}
stat_increment("mta.route", 1);
}
else if (r->flags & ROUTE_RUNQ) {
- log_debug("debug: mta: mta_route_ref(): canceling runq for route %s",
+ log_debug("debug: mta: mta_route_ref(): cancelling runq for route %s",
mta_route_to_text(r));
r->flags &= ~(ROUTE_RUNQ | ROUTE_KEEPALIVE);
runq_cancel(runq_route, NULL, r);
return;
}
- log_debug("debug: mta: ma_route_unref(): really discarding route %s",
+ log_debug("debug: mta: mta_route_unref(): really discarding route %s",
mta_route_to_text(r));
SPLAY_REMOVE(mta_route_tree, &routes, r);
-/* $OpenBSD: mta_session.c,v 1.65 2014/05/12 14:37:32 eric Exp $ */
+/* $OpenBSD: mta_session.c,v 1.66 2014/05/20 18:47:01 eric Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
break;
}
- log_trace(TRACE_MTA, "mta: %p: >>> [...%zi bytes...]", s, q);
+ log_trace(TRACE_MTA, "mta: %p: >>> [...%zd bytes...]", s, q);
break;
case MTA_EOM:
-/* $OpenBSD: scheduler.c,v 1.44 2014/04/08 15:25:43 eric Exp $ */
+/* $OpenBSD: scheduler.c,v 1.45 2014/05/20 18:47:01 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
m_get_int(&m, &r);
m_end(&m);
log_trace(TRACE_SCHEDULER,
- "scheduler: releasing %d on holdq (%i, %016" PRIx64 ")",
+ "scheduler: releasing %d on holdq (%d, %016" PRIx64 ")",
r, type, holdq);
backend->release(type, holdq, r);
scheduler_reset_events();
-/* $OpenBSD: smtpctl.c,v 1.119 2014/04/22 13:57:58 gilles Exp $ */
+/* $OpenBSD: smtpctl.c,v 1.120 2014/05/20 18:47:01 eric Exp $ */
/*
* Copyright (c) 2013 Eric Faurot <eric@openbsd.org>
if (online) {
if (e->flags & EF_PENDING)
- (void)snprintf(runstate, sizeof runstate, "pending|%zi",
+ (void)snprintf(runstate, sizeof runstate, "pending|%zd",
(ssize_t)(e->nexttry - now));
else if (e->flags & EF_INFLIGHT)
- (void)snprintf(runstate, sizeof runstate, "inflight|%zi",
+ (void)snprintf(runstate, sizeof runstate, "inflight|%zd",
(ssize_t)(now - e->lasttry));
else
(void)snprintf(runstate, sizeof runstate, "invalid|");