It would be useful to add an error string pointer to struct tevent_req

Richard Sharpe realrichardsharpe at gmail.com
Tue Apr 30 12:33:25 MDT 2013


Hi folks,

Because it can be hard to figure out where, say EINVAL, is coming
from, it would be useful to have a pointer to an error string where we
can talloc up, in the error path, something that tells you the
function and line number an error is coming from.

Then when you have several sets of tevents along the way, you get a
better idea of why an error has really occurred.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list