File sblim-cmpi-firewall-0.5.6.patch of Package sblim-cmpi-firewall
diff -wruN -x '*~' ../orig-sblim-cmpi-firewall-0.5.6/provider/Linux_FirewallManagedPortsForInterface/Linux_FirewallManagedPortsForInterface_Resource.c ./provider/Linux_FirewallManagedPortsForInterface/Linux_FirewallManagedPortsForInterface_Resource.c
--- ../orig-sblim-cmpi-firewall-0.5.6/provider/Linux_FirewallManagedPortsForInterface/Linux_FirewallManagedPortsForInterface_Resource.c 2009-06-18 15:26:15.000000000 +0200
+++ ./provider/Linux_FirewallManagedPortsForInterface/Linux_FirewallManagedPortsForInterface_Resource.c 2012-05-28 12:47:11.998568087 +0200
@@ -295,13 +295,11 @@
static CMPICount NoOfElmnts = 0; //*** Number of elements from the Array
int index = 0; //*** Index for looping
const char* cmpi_name; //*** Attribute of Interest from element
- char* keyname; //*** Attribute to hold the keyname of interest
const char* className; //*** Attribute to hold the class of interest
//char name[15] ; //*** Derive the InstanceID for the Port object
/** Depending on the typeflag - arrive at the class of interest and the key value */
- keyname = (typeflag) ? _LHSKEYNAME : _RHSKEYNAME;
className = (typeflag) ? _LHSCLASSNAME : _RHSCLASSNAME;
//*** Get the objectpath for the class of interest and enumerate the objects of the class
diff -wruN -x '*~' ../orig-sblim-cmpi-firewall-0.5.6/provider/Linux_FirewallTrustedServicesForInterface/Linux_FirewallTrustedServicesForInterface_Resource.c ./provider/Linux_FirewallTrustedServicesForInterface/Linux_FirewallTrustedServicesForInterface_Resource.c
--- ../orig-sblim-cmpi-firewall-0.5.6/provider/Linux_FirewallTrustedServicesForInterface/Linux_FirewallTrustedServicesForInterface_Resource.c 2009-06-18 15:26:15.000000000 +0200
+++ ./provider/Linux_FirewallTrustedServicesForInterface/Linux_FirewallTrustedServicesForInterface_Resource.c 2012-05-28 12:44:39.516695966 +0200
@@ -279,10 +279,8 @@
static CMPICount NoOfElmnts = 0; //*** Number of elements from the Array
int index = 0; //*** Index for looping
const char* cmpi_name; //*** Attribute of Interest from element
- char* keyname;
const char* className;
- keyname = (typeflag) ? _LHSKEYNAME : _RHSKEYNAME;
className = (typeflag) ? _LHSCLASSNAME : _RHSCLASSNAME;
TempOP = CMNewObjectPath( broker, namespace, className, &status);