aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2012-09-11 12:58:08 +0200
committerMarc Hoersken <info@marc-hoersken.de>2012-09-11 12:58:08 +0200
commitc8846c09079a564ed1f24714acbf52b398b9cce1 (patch)
treef5992c8e8e2a7ed1d382002bd26cbe0987d87c23 /tests/libtest
parentf9da9a0edbb982a125f050fb47f21880bc6cec6b (diff)
libntlmconnect.c: Fixed typo and conversion
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/libntlmconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/libntlmconnect.c b/tests/libtest/libntlmconnect.c
index 61b40ec31..b31a928af 100644
--- 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)lastsocket;
+ 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. */