fixup another passblanks in http_ntlm.c

This commit is contained in:
Daniel Stenberg 2025-02-28 23:28:37 +01:00
parent e2d65782a1
commit 689450e3f2
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -41,6 +41,7 @@
#include "curl_base64.h"
#include "vauth/vauth.h"
#include "url.h"
#include "strparse.h"
/* SSL backend-specific #if branches in this file must be kept in the order
documented in curl_ntlm_core. */
@ -70,9 +71,7 @@ CURLcode Curl_input_ntlm(struct Curl_easy *data,
if(checkprefix("NTLM", header)) {
header += strlen("NTLM");
while(ISSPACE(*header))
header++;
Curl_str_passblanks(&header);
if(*header) {
unsigned char *hdr;
size_t hdrlen;