X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fhttp-ntlm.c;h=5ca8e85c11317ea39515a6945570c8b860daac34;hb=da99855784988c6bf125799f47c57d888bbc25f1;hp=054c8a95939a18b3fced17d09d87cd279de28a20;hpb=6633b74930870ffb148c46129c738af78082d934;p=wget diff --git a/src/http-ntlm.c b/src/http-ntlm.c index 054c8a95..5ca8e85c 100644 --- a/src/http-ntlm.c +++ b/src/http-ntlm.c @@ -42,6 +42,7 @@ so, delete this exception statement from your version. */ #include #include +#include #include "wget.h" #include "utils.h" @@ -120,7 +121,7 @@ ntlm_input (struct ntlmdata *ntlm, const char *header) return false; header += 4; - while (*header && ISSPACE(*header)) + while (*header && c_isspace(*header)) header++; if (*header) @@ -246,7 +247,7 @@ mkhash(const char *password, len = 14; for (i=0; i