Add macros to handle returning errors
authorSimo Sorce <simo@redhat.com>
Sun, 10 Aug 2014 02:46:54 +0000 (22:46 -0400)
committerSimo Sorce <simo@redhat.com>
Sun, 10 Aug 2014 18:29:38 +0000 (14:29 -0400)
commitfb6ffe0c50e166bf095736a051e4840bd5a5ad4f
tree6794f411cfb011bb5bc259afe94bd868c049a806
parent3914c4b1bd9a94dc9998e7e1a7105a9835da84e0
Add macros to handle returning errors

These macros prevent the chance of not setting minor_status approproiately.
They also hook into the tracing system, so any time an error is set, then it
can be traced to exactly what finction (and in which line) it was set.
src/gss_auth.c
src/gss_creds.c
src/gss_err.c
src/gss_names.c
src/gss_ntlmssp.h
src/gss_sec_ctx.c
src/gss_serialize.c
src/gss_signseal.c