Skip to content

Commit d68032b

Browse files
committedSep 29, 2015
renamed
1 parent efed617 commit d68032b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/YunMQTTClient.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ void YunMQTTClient::begin(const char * hostname, int port) {
1515
this->port = port;
1616
}
1717

18-
int YunMQTTClient::installBridge() {
18+
int YunMQTTClient::updateBridge() {
1919
Process p;
2020

2121
int r1 = p.runShellCommand("mkdir -p /usr/arduino-mqtt");
@@ -45,7 +45,7 @@ boolean YunMQTTClient::connect(const char * clientId) {
4545
}
4646

4747
boolean YunMQTTClient::connect(const char * clientId, const char * username, const char * password) {
48-
if(this->installBridge() == 0) {
48+
if(this->updateBridge() == 0) {
4949
return false;
5050
}
5151

‎src/YunMQTTClient.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class YunMQTTClient {
1616
const char * willTopic = NULL;
1717
const char * willPayload = NULL;
1818
boolean alive = false;
19-
int installBridge();
19+
int updateBridge();
2020
public:
2121
YunMQTTClient();
2222
void begin(const char * hostname);

0 commit comments

Comments
 (0)
Please sign in to comment.