mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +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:
parent
b1dfeaa3ff
commit
99b96cce4f
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user