diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-06-04 21:19:14 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-06-04 21:19:14 +0200 |
commit | 4f170ee8f9c1d067022300df2da331c30dcda9dd (patch) | |
tree | 5734ca49661f8085638ab8255ac60448b2f61cb9 /lib/pingpong.c | |
parent | fba00c9f7be2dad06b8691952508882c4da14185 (diff) | |
download | curl-4f170ee8f9c1d067022300df2da331c30dcda9dd.tar.gz |
Curl_socket_ready: make timeout a 'long'
It was mostly typecasted to int all over the code so switching to long
instead all over should be a net gain.
Diffstat (limited to 'lib/pingpong.c')
-rw-r--r-- | lib/pingpong.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pingpong.c b/lib/pingpong.c index 8f0266760..23ab69fb2 100644 --- a/lib/pingpong.c +++ b/lib/pingpong.c @@ -138,7 +138,7 @@ CURLcode Curl_pp_easy_statemach(struct pingpong *pp) rc = Curl_socket_ready(pp->sendleft?CURL_SOCKET_BAD:sock, /* reading */ pp->sendleft?sock:CURL_SOCKET_BAD, /* writing */ - (int)interval_ms); + interval_ms); if(Curl_pgrsUpdate(conn)) result = CURLE_ABORTED_BY_CALLBACK; |