Skip to content

Commit 15225bb

Browse files
committed
use NULLs rather than empty strings
1 parent 9d3bfd3 commit 15225bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MQTTClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void MQTTClient::setWill(const char * topic, const char * payload) {
4343
}
4444

4545
boolean MQTTClient::connect(const char * clientId) {
46-
return this->connect(clientId, "", "");
46+
return this->connect(clientId, NULL, NULL);
4747
}
4848

4949
boolean MQTTClient::connect(const char * clientId, const char * username, const char * password) {

0 commit comments

Comments
 (0)