diff options
Diffstat (limited to 'src/lib/krb5/ccache/ccapi/winccld.c')
-rw-r--r-- | src/lib/krb5/ccache/ccapi/winccld.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/krb5/ccache/ccapi/winccld.c b/src/lib/krb5/ccache/ccapi/winccld.c index 2792ceeda4..4fded76d87 100644 --- a/src/lib/krb5/ccache/ccapi/winccld.c +++ b/src/lib/krb5/ccache/ccapi/winccld.c @@ -45,6 +45,8 @@ static int LoadFuncs(const char* dll_name, FUNC_INFO fi[], } if (!(h = LoadLibrary(dll_name))) { + /* Get error for source debugging purposes. */ + error = (int)GetLastError(); return LF_NODLL; } |