2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

MQTT: fix 'Not enough arguments for main::DevIo_SimpleWrite'

git-svn-id: https://svn.fhem.de/fhem/trunk@6652 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess 2014-10-01 22:29:12 +00:00
parent b1dfeaa3ff
commit 99b96cce4f

View File

@ -300,7 +300,7 @@ sub MQTT_send_message($$$@) {
my $msgid = $hash->{msgid}++;
my $msg = Net::MQTT::Message->new(message_id => $msgid,@_);
main::Log3($name,5,"MQTT $name message sent: ".$msg->string());
DevIo_SimpleWrite($hash,$msg->bytes);
DevIo_SimpleWrite($hash,$msg->bytes,undef);
return $msgid;
};