X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPPI%2FEvents.cc;h=c866a861870c4ec3336ac086810dda14206d09c1;hb=78a6e233083efa63a9cd0684a92abc64202a9ee7;hp=f74a3291d525f301c2518280662931a9bead7a8b;hpb=69b25a4904fa86324aedc7147502255ce4117885;p=senf.git diff --git a/senf/PPI/Events.cc b/senf/PPI/Events.cc index f74a329..c866a86 100644 --- a/senf/PPI/Events.cc +++ b/senf/PPI/Events.cc @@ -50,7 +50,7 @@ prefix_ void senf::ppi::EventDescriptor::notifyUnthrottle() for (; i != i_end; ++i) if ((*i)->throttled()) break; - if (i != i_end) + if (i != i_end) return; throttled_ = false; enabled(true); @@ -58,7 +58,7 @@ prefix_ void senf::ppi::EventDescriptor::notifyUnthrottle() prefix_ void senf::ppi::EventDescriptor::enabled(bool v) { - SENF_ASSERT(v_isRegistered() && "Module::registerEvent() call missing"); + SENF_ASSERT(v_isRegistered(), "Module::registerEvent() call missing"); if (throttled_ && v) return; if (v && ! enabled_)