summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-05-17 10:12:27 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-05-20 05:42:00 -0400
commitebbc0bb29d240f3d3f916d836e54d1a76ecfa5d1 (patch)
tree7f2ecb44813cb7b716aaca8004ee9d2162b6061d /src/providers/ldap/sdap.c
parent307466d34a32324f1aebb0720f8fd98f9dfd4a9d (diff)
downloadsssd-ebbc0bb29d240f3d3f916d836e54d1a76ecfa5d1.tar.gz
sssd-ebbc0bb29d240f3d3f916d836e54d1a76ecfa5d1.tar.xz
sssd-ebbc0bb29d240f3d3f916d836e54d1a76ecfa5d1.zip
Remove append_attrs_to_array
This function was not used anywhere
Diffstat (limited to 'src/providers/ldap/sdap.c')
-rw-r--r--src/providers/ldap/sdap.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/providers/ldap/sdap.c b/src/providers/ldap/sdap.c
index b2d3e8c78..e82720929 100644
--- a/src/providers/ldap/sdap.c
+++ b/src/providers/ldap/sdap.c
@@ -742,17 +742,6 @@ int build_attrs_from_map(TALLOC_CTX *memctx,
return EOK;
}
-int append_attrs_to_array(const char **attrs, size_t size, const char *attr)
-{
- attrs = talloc_realloc(NULL, attrs, const char *, size + 2);
- if (!attrs) return ENOMEM;
-
- attrs[size] = attr;
- attrs[size + 1] = NULL;
-
- return EOK;
-}
-
int sdap_control_create(struct sdap_handle *sh, const char *oid, int iscritical,
struct berval *value, int dupval, LDAPControl **ctrlp)
{