summaryrefslogtreecommitdiffstats
path: root/src/account/LMI_ServiceAffectsIdentityProvider.c
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2014-04-29 08:33:13 +0200
committerJan Synacek <jsynacek@redhat.com>2014-04-30 15:54:14 +0200
commit55f63d29f5d2b4e82979d71386df58394e87ef5a (patch)
tree34227f5696df9b3a85c5999d2fd48f50be82681f /src/account/LMI_ServiceAffectsIdentityProvider.c
parentdab89c6afb2a2b339ebadea3d47e841cd749b5ef (diff)
downloadopenlmi-providers-55f63d29f5d2b4e82979d71386df58394e87ef5a.tar.gz
openlmi-providers-55f63d29f5d2b4e82979d71386df58394e87ef5a.tar.xz
openlmi-providers-55f63d29f5d2b4e82979d71386df58394e87ef5a.zip
libopenlmi: reorganize and gather
Make naming consistent. Gather common functionality into one library and try to use it across all providers. Introduce libtool-style versioning for libraries.
Diffstat (limited to 'src/account/LMI_ServiceAffectsIdentityProvider.c')
-rw-r--r--src/account/LMI_ServiceAffectsIdentityProvider.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/account/LMI_ServiceAffectsIdentityProvider.c b/src/account/LMI_ServiceAffectsIdentityProvider.c
index 5eccab4..5d302a2 100644
--- a/src/account/LMI_ServiceAffectsIdentityProvider.c
+++ b/src/account/LMI_ServiceAffectsIdentityProvider.c
@@ -24,7 +24,6 @@
#include "LMI_Identity.h"
#include "macros.h"
-#include "globals.h"
#include "aux_lu.h"
#include "account_globals.h"
@@ -100,7 +99,7 @@ static CMPIStatus LMI_ServiceAffectsIdentityEnumInstances(
lue = g_ptr_array_index(accounts, i);
LMI_IdentityRef_Init(&liref, _cb, nameSpace);
- asprintf(&id, ORGID":UID:%ld", aux_lu_get_long(lue, LU_UIDNUMBER));
+ asprintf(&id, LMI_ORGID":UID:%ld", aux_lu_get_long(lue, LU_UIDNUMBER));
LMI_IdentityRef_Set_InstanceID(&liref, id);
free(id);
@@ -127,7 +126,7 @@ static CMPIStatus LMI_ServiceAffectsIdentityEnumInstances(
lue = g_ptr_array_index(accounts, i);
LMI_IdentityRef_Init(&liref, _cb, nameSpace);
- asprintf(&id, ORGID":GID:%ld", aux_lu_get_long(lue, LU_GIDNUMBER));
+ asprintf(&id, LMI_ORGID":GID:%ld", aux_lu_get_long(lue, LU_GIDNUMBER));
LMI_IdentityRef_Set_InstanceID(&liref, id);
free(id);