arduino-libraries / ArduinoHttpClient

Arduino HTTP Client library
288 stars 172 forks source link

Fix -Wlogical-not-parentheses warning #79

Closed vaipatel closed 3 years ago

vaipatel commented 4 years ago

Hello, the above warning is issued for lines 87 and 97. I believe the warning occurs because operator!() has higher precedence than operator>().

Alternatively, we can use:

iClient->connect(iServerAddress, iServerPort) <= 0
FedeBev commented 4 years ago

Hi there,

what about this?