cURL / Mailing Lists / curl-library / Single Mail


Re: A strange problem with NTLM authentication, solved

From: Tor Arntsen <>
Date: Mon, 3 Apr 2006 17:05:17 +0200

Just one comment on the patch -
the buffer definition seems to clearly define the flags field as a 4-byte
integer, thus it shouldn't really be declared and described as 'long' in
the code. 'long' is 4 bytes on 32-bit systems and 8 bytes on 64-bit systems.
'int', on the other hand, is 4 bytes everywhere (using 'long' is common in
the MS world but it's a very long time since 'int' used to be 16 bits..)

Received on 2006-04-03