fix use of printMsg

This commit is contained in:
Isaac Connor 2020-05-09 11:49:02 -04:00
parent 408da1be27
commit 8bebb2b890
1 changed files with 2 additions and 2 deletions

View File

@ -69,9 +69,9 @@ sub sendCmd {
my $result = undef;
printMsg($cmd, 'Tx');
$self->printMsg($cmd, 'Tx');
my $req = HTTP::Request->new( POST=>"http://$self->{Monitor}->{ControlAddress}/$cgi.cgi" );
my $req = HTTP::Request->new(POST=>"http://$self->{Monitor}->{ControlAddress}/$cgi.cgi");
$req->content($cmd);
my $res = $self->{ua}->request($req);