Skip to content

Commit 810f0b0

Browse files
authored
Merge pull request #525 from PeelTechnologies/515-fix
Ensuring checkPing carries the callback passed by the client
2 parents 27382b1 + 5a01577 commit 810f0b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/MqttAsyncClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ public IMqttToken checkPing(Object userContext, IMqttActionListener callback) th
10091009
// @TRACE 117=>
10101010
log.fine(CLASS_NAME, methodName, "117");
10111011

1012-
token = comms.checkForActivity();
1012+
token = comms.checkForActivity(callback);
10131013
// @TRACE 118=<
10141014
log.fine(CLASS_NAME, methodName, "118");
10151015

0 commit comments

Comments
 (0)