summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-06-26 18:26:52 +0000
committerJeremy Allison <jra@samba.org>2003-06-26 18:26:52 +0000
commitb57805dd9b41ee1ff8246563ff8fdabfcbc07538 (patch)
treec0fd94cc09f727e8f77c9209c60d010db22dae6a
parentdde593e19074b3f6a2eddc6ea64f9b0c54aee0ed (diff)
downloadsamba-b57805dd9b41ee1ff8246563ff8fdabfcbc07538.tar.gz
samba-b57805dd9b41ee1ff8246563ff8fdabfcbc07538.tar.bz2
samba-b57805dd9b41ee1ff8246563ff8fdabfcbc07538.zip
As has been pointed out, ordering here doesn't matter so use normal
add. Jeremy. (This used to be commit 030b35ca0fc9fe49610084c6c1be95241157564b)
-rw-r--r--source3/sam/idmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/sam/idmap.c b/source3/sam/idmap.c
index 7b4261169f..d2f68acf60 100644
--- a/source3/sam/idmap.c
+++ b/source3/sam/idmap.c
@@ -59,7 +59,7 @@ static struct idmap_methods *get_methods(const char *name)
NTSTATUS smb_register_idmap(int version, const char *name, struct idmap_methods *methods)
{
- struct idmap_function_entry *entry, *tmp;
+ struct idmap_function_entry *entry;
if ((version != SMB_IDMAP_INTERFACE_VERSION)) {
DEBUG(0, ("Failed to register idmap module.\n"
@@ -84,7 +84,7 @@ NTSTATUS smb_register_idmap(int version, const char *name, struct idmap_methods
entry->name = smb_xstrdup(name);
entry->methods = methods;
- DLIST_ADD_END(backends, entry, tmp);
+ DLIST_ADD(backends, entry);
DEBUG(5, ("Successfully added idmap backend '%s'\n", name));
return NT_STATUS_OK;
}