mirror of
https://github.com/arduino-libraries/ArduinoHttpClient.git
synced 2025-04-22 19:22:50 +03:00
Correct some warnings
This commit is contained in:
parent
f12a797fb3
commit
5df9084d8e
@ -252,7 +252,7 @@ int HttpClient::responseStatusCode()
|
||||
// Where HTTP-Version is of the form:
|
||||
// HTTP-Version = "HTTP" "/" 1*DIGIT "." 1*DIGIT
|
||||
|
||||
char c = '\0';
|
||||
int c = '\0';
|
||||
do
|
||||
{
|
||||
// Make sure the status code is reset, and likewise the state. This
|
||||
@ -311,6 +311,9 @@ int HttpClient::responseStatusCode()
|
||||
case eStatusCodeRead:
|
||||
// We're just waiting for the end of the line now
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
};
|
||||
// We read something, reset the timeout counter
|
||||
timeoutStart = millis();
|
||||
|
Loading…
x
Reference in New Issue
Block a user