projects
/
moonshot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add GET_LAST_ERROR macro
[moonshot.git]
/
moonshot
/
mech_eap
/
util_name.c
diff --git
a/moonshot/mech_eap/util_name.c
b/moonshot/mech_eap/util_name.c
index
e20dffd
..
f14ca4c
100644
(file)
--- a/
moonshot/mech_eap/util_name.c
+++ b/
moonshot/mech_eap/util_name.c
@@
-81,7
+81,7
@@
gssEapAllocName(OM_uint32 *minor, gss_name_t *pName)
}
if (GSSEAP_MUTEX_INIT(&name->mutex) != 0) {
- *minor =
errno
;
+ *minor =
GSSEAP_GET_LAST_ERROR()
;
gssEapReleaseName(&tmpMinor, &name);
return GSS_S_FAILURE;
}