101
94
/* This gets called by plugin_foreach once for each loaded errmsg plugin */
102
95
static bool errmsg_iterate (Session *session, plugin_ref plugin, void *p)
105
98
errmsg_parms_t *parms= (errmsg_parms_t *) p;
109
if (l->errmsg_func(session, parms->priority, parms->format, parms->ap))
102
if (handler->errmsg(session, parms->priority, parms->format, parms->ap))
111
104
/* we're doing the errmsg plugin api,
112
105
so we can't trust the errmsg api to emit our error messages