Skip to content

Commit 5a01577

Browse files
author
Inderjeet Singh
committed
Ensuring checkPing carries the callback passed by the client
Signed-off-by: Inderjeet Singh <inder123@gmail.com> Signed-off-by: Inderjeet Singh <inder@peel.com>
1 parent b0e3fbb commit 5a01577

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)