fix use of printMsg
This commit is contained in:
parent
408da1be27
commit
8bebb2b890
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue