summaryrefslogtreecommitdiff
path: root/lib/select.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-04-19 20:20:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-04-19 20:20:48 +0000
commitbf648fcfc34a91981d9d5e00b265d4a19068fdcf (patch)
treed4e2cfd9974b4854d22b8dae5665dd57861fd672 /lib/select.c
parentb0e909329e63f7d4a6f50f536c41082ba8c1619d (diff)
downloadcurl-bf648fcfc34a91981d9d5e00b265d4a19068fdcf.tar.gz
keep lines < 80 columns
Diffstat (limited to 'lib/select.c')
-rw-r--r--lib/select.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/select.c b/lib/select.c
index 1cc819a2a..30aece461 100644
--- a/lib/select.c
+++ b/lib/select.c
@@ -163,7 +163,8 @@ static int wait_ms(int timeout_ms)
* 0 = timeout
* CURL_CSELECT_IN | CURL_CSELECT_OUT | CURL_CSELECT_ERR
*/
-int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms)
+int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd,
+ int timeout_ms)
{
#ifdef HAVE_POLL_FINE
struct pollfd pfd[2];
@@ -468,7 +469,8 @@ int Curl_select(int nfds,
SET_SOCKERRNO(EINVAL);
return -1;
}
- timeout_ms = (int)(timeout->tv_sec * 1000) + (int)(timeout->tv_usec / 1000);
+ timeout_ms = (int)(timeout->tv_sec * 1000) +
+ (int)(timeout->tv_usec / 1000);
}
else {
timeout_ms = -1;