/[smecontribs]/rpms/ocsinventory/contribs7/ocsinventory-r1462.patch
ViewVC logotype

Contents of /rpms/ocsinventory/contribs7/ocsinventory-r1462.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Mar 18 14:37:45 2009 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: ocsinventory-1_02_1-1_el4_sme, ocsinventory-1_02-0_10_rc3_el4_sme_2, HEAD
Error occurred while calculating annotation data.
* Wed Mar 13 2009 Daniel B. <daniel@firewall-services.com> 1.02-0.10.rc3.el4.2
- Changes for SME Server (apache=>www)

1 --- trunk/server/Apache/Ocsinventory/Interface/Inventory.pm 2008/02/18 14:48:14 981
2 +++ trunk/server/Apache/Ocsinventory/Interface/Inventory.pm 2009/01/08 12:07:03 1462
3 @@ -24,7 +24,14 @@
4 /;
5
6 sub get_computers {
7 - my $request = decode_xml( shift );
8 + my ($data) = @_;
9 +
10 + die unless $data;
11 +
12 + # Remove non printable char from the XML
13 + $data =~ s/[[:cntrl:]]//g;
14 +
15 + my $request = decode_xml( $data );
16
17 my %build_functions = (
18 'INVENTORY' => \&Apache::Ocsinventory::Interface::Inventory::build_xml_inventory,

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed