Skip to content

Commit 4bb288d

Browse files
author
Adrian McEwen
committed
Fixes issue #10 where the library would crash on Intel Galileo and Edison.
1 parent 522108f commit 4bb288d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HttpClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void HttpClient::resetState()
4141
iStatusCode = 0;
4242
iContentLength = 0;
4343
iBodyLengthConsumed = 0;
44-
iContentLengthPtr = 0;
44+
iContentLengthPtr = kContentLengthPrefix;
4545
iHttpResponseTimeout = kHttpResponseTimeout;
4646
}
4747

0 commit comments

Comments
 (0)