Commit 5aead58c authored by Vadim Kazakov's avatar Vadim Kazakov

add printing of exit code

parent 9f0337e4
No preview for this file type
...@@ -390,6 +390,8 @@ struct _SecHandle *hcText) ...@@ -390,6 +390,8 @@ struct _SecHandle *hcText)
if (!SEC_SUCCESS (ss)) if (!SEC_SUCCESS (ss))
{ {
MyHandleError ("InitializeSecurityContext failed " ); MyHandleError ("InitializeSecurityContext failed " );
fprintf(stderr, "%d\n", ss);
} }
//------------------------------------------------------------------- //-------------------------------------------------------------------
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include <winsock.h> #include <winsock.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "Sspiexample.h" #include "SspiExample.h"
CredHandle hcred; CredHandle hcred;
struct _SecHandle hctxt; struct _SecHandle hctxt;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment