1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge pull request #390 from hindessm/fix-base64-udp-send

Fix base64 udp send
This commit is contained in:
Nick O'Leary 2014-09-08 20:20:22 +01:00
commit 27149fe10f

View File

@ -142,7 +142,7 @@ module.exports = function(RED) {
} else {
var message;
if (node.base64) {
message = new Buffer(b64string, 'base64');
message = new Buffer(msg.payload, 'base64');
} else if (msg.payload instanceof Buffer) {
message = msg.payload;
} else {