summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreric <eric@openbsd.org>2012-06-20 20:27:41 +0000
committereric <eric@openbsd.org>2012-06-20 20:27:41 +0000
commit98152367da09d85ca05a94c6084e7b14a2b1a4a9 (patch)
tree9afb0af04447ad3c77b3d5d8ae66d9a153d1b285
parentno more nubus; ok matthew (diff)
downloadwireguard-openbsd-98152367da09d85ca05a94c6084e7b14a2b1a4a9.tar.xz
wireguard-openbsd-98152367da09d85ca05a94c6084e7b14a2b1a4a9.zip
fix runner spinning on message loop.
ok gilles@
-rw-r--r--usr.sbin/smtpd/runner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/runner.c b/usr.sbin/smtpd/runner.c
index c77574479de..00d8c6b112f 100644
--- a/usr.sbin/smtpd/runner.c
+++ b/usr.sbin/smtpd/runner.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: runner.c,v 1.139 2012/06/17 15:17:08 gilles Exp $ */
+/* $OpenBSD: runner.c,v 1.140 2012/06/20 20:27:41 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -397,7 +397,7 @@ runner_process_envelope(u_int64_t evpid)
scheduler->remove(evpid);
queue_envelope_delete(Q_QUEUE, &envelope);
- runner_setup_events();
+ runner_reset_events();
return 0;
}