Skip to content

Commit aa40a10

Browse files
committed
Make variable static
1 parent 7b594b0 commit aa40a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ bool HTTPClient::connect(void)
851851
DEBUG_HTTPCLIENT("[HTTP-Client] connect: already connected, reusing connection\n");
852852

853853
#if defined(NO_GLOBAL_INSTANCES)
854-
StreamNull devnull;
854+
static StreamNull devnull;
855855
#endif
856856
_client->sendAvailable(devnull); // clear _client's output (all of it, no timeout)
857857
return true;

0 commit comments

Comments
 (0)