fix zmtrigger. Need {}
This commit is contained in:
parent
b4511a8fc3
commit
ef13c84d8b
|
@ -196,7 +196,7 @@ while (!$zm_terminate) {
|
||||||
foreach my $connection ( @in_poll_connections ) {
|
foreach my $connection ( @in_poll_connections ) {
|
||||||
my $messages = $connection->getMessages();
|
my $messages = $connection->getMessages();
|
||||||
if (defined($messages)) {
|
if (defined($messages)) {
|
||||||
foreach my $message (@$messages) handleMessage($connection, $message);
|
foreach my $message (@$messages) { handleMessage($connection, $message) };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue