From 641cd2914b10b807bad11211fe3232398c6b2b94 Mon Sep 17 00:00:00 2001 From: Rocco Musolino Date: Mon, 9 Jan 2017 17:32:21 +0100 Subject: [PATCH] typo fix --- examples/wss/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/wss/client.js b/examples/wss/client.js index c0d1d4379..b8e014acc 100644 --- a/examples/wss/client.js +++ b/examples/wss/client.js @@ -40,7 +40,7 @@ client.subscribe('topic', { qos: 0 }) client.publish('topic', 'wss secure connection demo...!', { qos: 0, retained: false }) -client.on('message', function (topic, message, pakcet) { +client.on('message', function (topic, message, packet) { console.log('Received Message:= ' + message.toString() + '\nOn topic:= ' + topic) })