Skip to content

Commit 328f27b

Browse files
authored
Update HttpClient.cpp
1 parent c39fda4 commit 328f27b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HttpClient.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ bool HttpClient::endOfHeadersReached()
542542
return (iState == eReadingBody || iState == eReadingChunkLength || iState == eReadingBodyChunk);
543543
};
544544

545-
int HttpClient::contentLength()
545+
long HttpClient::contentLength()
546546
{
547547
// skip the response headers, if they haven't been read already
548548
if (!endOfHeadersReached())

0 commit comments

Comments
 (0)