aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2016-04-12 00:37:44 -0400
committerJay Satiro <raysatiro@yahoo.com>2016-04-12 00:37:44 -0400
commit3f57880ad10d3c98891266766c4423d938ee1821 (patch)
tree1f3bc59d1ac3a2a3ec3b794fa72595a7201fa6c3 /lib/urldata.h
parent723f90119512fa29b8b407d296e01219c4ead04f (diff)
http2: Use size_t type for data drain count
Ref: https://github.com/curl/curl/issues/659 Ref: https://github.com/curl/curl/pull/663
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 78593eecc..0efb65160 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -1314,9 +1314,9 @@ struct UrlState {
curl_off_t infilesize; /* size of file to upload, -1 means unknown.
Copied from set.filesize at start of operation */
- int drain; /* Increased when this stream has data to read, even if its
- socket not necessarily is readable. Decreased when
- checked. */
+ size_t drain; /* Increased when this stream has data to read, even if its
+ socket is not necessarily is readable. Decreased when
+ checked. */
bool done; /* set to FALSE when Curl_do() is called and set to TRUE when
Curl_done() is called, to prevent Curl_done() to get invoked
twice when the multi interface is used. */