On 09/10/2015 11:33 PM, Peter Crosthwaite wrote: > Currently set_error, set_error_errno, set_error_win32 do pretty much > the same thing with only a little bit of string manipulation in the > error code cases. Coreify that string manipulation as a callback and > factor out the bulk of the error_set fns to a common helper that calls > the callback at the right time. >
Commit 5523750 pretty much already does this. This patch can be dropped when rebasing the series to latest. > Signed-off-by: Peter Crosthwaite <crosthwaite.pe...@gmail.com> > --- > > util/error.c | 81 > +++++++++++++++++++++++++----------------------------------- > 1 file changed, 33 insertions(+), 48 deletions(-) > -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature