Skip to content
Snippets Groups Projects
Commit afc5a3c6 authored by Tomáš Plesník's avatar Tomáš Plesník
Browse files

nacteni promennych z konfiguracniho souboru klienta presunuto primo do funkce c2s

parent f389d502
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,7 @@ sub c2s
my $data = shift;
my $client;
# parse service URI
my ($server, $port, $service) = $WardenClientCommon::URI =~ /https:\/\/(.+)\:(\d+)\/(.+)/;
# create SOAP::Transport::HTTP:Client object
......@@ -137,7 +138,7 @@ sub c2s
sub getClientInfo
{
# obtain information about clients on Warden server
my $response = c2s($WardenClientCommon::URI, $WardenClientCommon::SSL_KEY, $WardenClientCommon::SSL_CERT, $WardenClientCommon::SSL_CA_CERT, "getClientInfo");
my $response = c2s("getClientInfo");
defined $response or return; # receive data or return undef
# parse server response (SOAP data object)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment