Skip to content

Commit 1061658

Browse files
authored
Merge pull request #2 from per1234/boolean-bool
Replace boolean type with bool in examples
2 parents 59561f4 + 96f32b6 commit 1061658

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/Ethernet/RegisteringServices/RegisteringServices.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void loop()
8585
EthernetClient client = server.available();
8686
if (client) {
8787
// an http request ends with a blank line
88-
boolean current_line_is_blank = true;
88+
bool current_line_is_blank = true;
8989
while (client.connected()) {
9090
if (client.available()) {
9191
char c = client.read();

examples/Ethernet/RegisteringServicesWithTxtRecord/RegisteringServicesWithTxtRecord.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void loop()
9999
char isPage2 = 0;
100100
if (client) {
101101
// an http request ends with a blank line
102-
boolean current_line_is_blank = true;
102+
bool current_line_is_blank = true;
103103
while (client.connected()) {
104104
if (client.available()) {
105105
char c = client.read();

examples/WiFi/WiFiRegisteringServices/WiFiRegisteringServices.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ void loop()
102102
WiFiClient client = server.available();
103103
if (client) {
104104
// an http request ends with a blank line
105-
boolean current_line_is_blank = true;
105+
bool current_line_is_blank = true;
106106
while (client.connected()) {
107107
if (client.available()) {
108108
char c = client.read();

examples/WiFi/WiFiRegisteringServicesWithTxtRecord/WiFiRegisteringServicesWithTxtRecord.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ void loop()
118118
char isPage2 = 0;
119119
if (client) {
120120
// an http request ends with a blank line
121-
boolean current_line_is_blank = true;
121+
bool current_line_is_blank = true;
122122
while (client.connected()) {
123123
if (client.available()) {
124124
char c = client.read();

0 commit comments

Comments
 (0)