for(p = outputs; p; p = pnext) {
/* We must be able to cope with eventlog_remove() being called from inside
* the callback */
for(p = outputs; p; p = pnext) {
/* We must be able to cope with eventlog_remove() being called from inside
* the callback */