ldb: use the sizeof of the control variable as offset instead of hardcoded values...
authorMatthieu Patou <mat@matws.net>
Mon, 7 Feb 2011 23:54:09 +0000 (02:54 +0300)
committerMatthieu Patou <mat@matws.net>
Sat, 12 Feb 2011 22:23:01 +0000 (01:23 +0300)
commit17fdee0e92e09c1e5bf6319dfddf7b014b19f314
tree30e827abc019e2142b8e7b340114dec7337d3be1
parentad9b670f47c1abd8e3d737fdc0869b463ac57e87
ldb: use the sizeof of the control variable as offset instead of hardcoded values, helps to avoid bugs
source4/lib/ldb/common/ldb_controls.c