aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-11-25 16:49:14 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-11-25 16:49:14 +0000
commit5d94ff5974aea670ca21fb7bf70cada78884e71f (patch)
tree69422056f063372134deebaa78a49c4696d84395
parent0d4ddfa74317f04b3c185f6381bbee3dee1eab81 (diff)
made the code fit within 80 cols
-rw-r--r--lib/hostthre.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/hostthre.c b/lib/hostthre.c
index 2d70f2ef4..7cb31f487 100644
--- a/lib/hostthre.c
+++ b/lib/hostthre.c
@@ -379,7 +379,9 @@ static bool init_resolve_thread (struct connectdata *conn,
td->stderr_file = stderr;
#ifdef _WIN32_WCE
- td->thread_hnd=(HANDLE) CreateThread(NULL,0,(LPTHREAD_START_ROUTINE) THREAD_FUNC,conn,0,&td->thread_id);
+ td->thread_hnd = (HANDLE) CreateThread(NULL, 0,
+ (LPTHREAD_START_ROUTINE) THREAD_FUNC,
+ conn, 0, &td->thread_id);
#else
td->thread_hnd = (HANDLE) _beginthreadex(NULL, 0, THREAD_FUNC,
@@ -459,8 +461,9 @@ CURLcode Curl_wait_for_resolv(struct connectdata *conn,
TRACE(("%s() thread stuck?!, ", THREAD_NAME));
}
else {
- /* Thread finished before timeout; propagate Winsock error to this thread.
- * 'conn->async.done = TRUE' is set in Curl_addrinfo4/6_callback().
+ /* Thread finished before timeout; propagate Winsock error to this
+ * thread. 'conn->async.done = TRUE' is set in
+ * Curl_addrinfo4/6_callback().
*/
WSASetLastError(conn->async.status);
GetExitCodeThread(td->thread_hnd, &td->thread_status);