~ubuntu-branches/ubuntu/trusty/sblim-sfcb/trusty-proposed

« back to all changes in this revision

Viewing changes to internalProvider.c

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2009-06-08 12:04:49 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090608120449-byfplk09rqz8rtg6
Tags: 1.3.3-0ubuntu1
* New upstream release.
* debian/rules: Removed rpath hacks, SFCB default build handles that now.
* Removed 1934753-remove-assignment.diff, now upstream.
* Refreshed patch cim-schema-location.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
469
469
     if (isa(nss, cns, "cim_registeredprofile")) {
470
470
        CMPIArray* atArray;
471
471
        atArray = CMGetProperty(ci, "AdvertiseTypes", &st).value.array;
 
472
#ifdef HAVE_SLP
472
473
        if (st.rc == CMPI_RC_OK || 
473
474
            atArray != NULL || 
474
475
            CMGetArrayElementAt(atArray, 0, &st).value.uint16 == 3) {
475
 
 
476
 
          kill(slppid, SIGHUP);  /* restart SLP to update RegisteredProfiles */
 
476
          if (slppid > 1) /* sanity check */
 
477
            kill(slppid, SIGHUP);  /* restart SLP to update RegisteredProfiles */
477
478
        }
 
479
#endif
478
480
     }
479
481
   }
480
482