summaryrefslogtreecommitdiff
path: root/src/http-ntlm.c
diff options
context:
space:
mode:
authorhniksic <devnull@localhost>2005-05-03 08:24:30 -0700
committerhniksic <devnull@localhost>2005-05-03 08:24:30 -0700
commit0967c21094580317353f0742c4836c5bbea34059 (patch)
tree0ed860407557c225b84c3fb1e71453137668abf0 /src/http-ntlm.c
parentce381136b6537e7fcbf9f5e90e8b14d278de7ca0 (diff)
downloadwget-0967c21094580317353f0742c4836c5bbea34059.tar.gz
[svn] Fix K&R incompatibilities reported by `gcc -Wtraditional'.
Diffstat (limited to 'src/http-ntlm.c')
-rw-r--r--src/http-ntlm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http-ntlm.c b/src/http-ntlm.c
index 5371a89e..b2f8317b 100644
--- a/src/http-ntlm.c
+++ b/src/http-ntlm.c
@@ -366,7 +366,7 @@ ntlm_output (struct ntlmdata *ntlm, const char *user, const char *passwd,
*/
snprintf(ntlmbuf, sizeof(ntlmbuf),
- "NTLMSSP%c\x01%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%s%s",
+ "NTLMSSP%c\001%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%s%s",
0, /* trailing zero */
0,0,0, /* part of type-1 long */
@@ -485,7 +485,7 @@ ntlm_output (struct ntlmdata *ntlm, const char *user, const char *passwd,
"%c%c" 2 zeroes */
size = snprintf(ntlmbuf, sizeof(ntlmbuf),
- "NTLMSSP%c\x03%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c\xff\xff%c%c\x01\x82%c%c",
+ "NTLMSSP%c\003%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c\377\377%c%c\001\202%c%c",
0, /* zero termination */
0,0,0, /* type-3 long, the 24 upper bits */