Commit 6d013b0a authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Fixed compiler warning in Windows SSPI case

parent bcc29cda
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -658,6 +658,7 @@ ntlm_sspi_cleanup(struct ntlmdata *ntlm)

#define HOSTNAME_MAX 1024

#ifndef USE_WINDOWS_SSPI
/* copy the source to the destination and fill in zeroes in every
   other destination byte! */
static void unicodecpy(unsigned char *dest,
@@ -669,6 +670,7 @@ static void unicodecpy(unsigned char *dest,
    dest[2*i+1] = '\0';
  }
}
#endif

/* this is for creating ntlm header output */
CURLcode Curl_output_ntlm(struct connectdata *conn,