projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9da9a0
)
libntlmconnect.c: Fixed typo and conversion
author
Marc Hoersken
<info@marc-hoersken.de>
Tue, 11 Sep 2012 10:58:08 +0000
(12:58 +0200)
committer
Marc Hoersken
<info@marc-hoersken.de>
Tue, 11 Sep 2012 10:58:08 +0000
(12:58 +0200)
tests/libtest/libntlmconnect.c
patch
|
blob
|
history
diff --git
a/tests/libtest/libntlmconnect.c
b/tests/libtest/libntlmconnect.c
index 61b40ec3162bf24d81067c05431e28675d5d693e..b31a928af7771967d8602ec7a857c66e62837a32 100644
(file)
--- a/
tests/libtest/libntlmconnect.c
+++ b/
tests/libtest/libntlmconnect.c
@@
-59,7
+59,7
@@
static size_t callback(char* ptr, size_t size, size_t nmemb, void* data)
sock = INVALID_SOCKET;
}
else {
- sock = (curl_socket_t)lastsock
et
;
+ sock = (curl_socket_t)lastsock;
}
/* sock will only be set for NTLM requests; for others it is -1 */
if (sock != INVALID_SOCKET) {
@@
-160,7
+160,7
@@
int test(char *url)
FD_ZERO(&fdwrite);
FD_ZERO(&fdexcep);
- multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd);
+ multi_fdset(multi, &fdread, &fdwrite, &fdexcep,
(int *)
&maxfd);
/* At this point, maxfd is guaranteed to be greater or equal than -1. */