summaryrefslogtreecommitdiff
path: root/source3/groupdb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-11 12:46:36 +0100
committerVolker Lendecke <vl@samba.org>2008-03-11 17:09:19 +0100
commit41bea30dd8486424c1f1fc9ebf6283f75c62e3da (patch)
treea569ff9076f95bef6a4b5a4aeabdf41d5ce3b866 /source3/groupdb
parent28244425b214d82edb8cb0ac76da56aa9c162519 (diff)
downloadsamba-41bea30dd8486424c1f1fc9ebf6283f75c62e3da.tar.gz
samba-41bea30dd8486424c1f1fc9ebf6283f75c62e3da.tar.bz2
samba-41bea30dd8486424c1f1fc9ebf6283f75c62e3da.zip
Cleanup after pstring removal
(This used to be commit 66d2a9c87411be88269bbb3a4d3c0a218a55be06)
Diffstat (limited to 'source3/groupdb')
-rw-r--r--source3/groupdb/mapping_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/groupdb/mapping_tdb.c b/source3/groupdb/mapping_tdb.c
index 67e377c338..555f77f6f3 100644
--- a/source3/groupdb/mapping_tdb.c
+++ b/source3/groupdb/mapping_tdb.c
@@ -106,7 +106,7 @@ static bool add_mapping_entry(GROUP_MAP *map, int flag)
if (!buf) {
return false;
}
- len = tdb_pack((uint8 *)buf, sizeof(buf), "ddff", map->gid,
+ len = tdb_pack((uint8 *)buf, len, "ddff", map->gid,
map->sid_name_use, map->nt_name, map->comment);
}