Fix separator check

git-svn-id: http://svn.merethis.net/centreon-esxd/trunk@74 a5eaa968-4c79-4d68-970d-af6011b5b055
This commit is contained in:
Quentin Garnier 2013-09-11 14:21:44 +00:00
parent 38307dfcca
commit b940582058
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ sub vsphere_handler {
next; next;
} }
my ($id) = split(/\|/, $data_element); my ($id) = split(/\Q$self->{separatorin}\E/, $data_element);
if ($self->{vsphere_connected}) { if ($self->{vsphere_connected}) {
$self->{logger}->writeLogInfo("vpshere '" . $self->{whoaim} . "' handler asking: $data_element"); $self->{logger}->writeLogInfo("vpshere '" . $self->{whoaim} . "' handler asking: $data_element");
$self->{child_proc}->{$id} = {ctime => time()}; $self->{child_proc}->{$id} = {ctime => time()};