summaryrefslogtreecommitdiff
path: root/source3/torture/mangle_test.c
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-11-07 15:29:09 +0000
committerJim McDonough <jmcd@samba.org>2002-11-07 15:29:09 +0000
commitf35fa86993a0d957c3d5d157dcfcd40e3b94b562 (patch)
tree01a8242c0504afc7176e58e2a9ae7fded27124dd /source3/torture/mangle_test.c
parent2b37e87bb9d539c6cdaf9aa6a2d358fd57f049c6 (diff)
downloadsamba-f35fa86993a0d957c3d5d157dcfcd40e3b94b562.tar.gz
samba-f35fa86993a0d957c3d5d157dcfcd40e3b94b562.tar.bz2
samba-f35fa86993a0d957c3d5d157dcfcd40e3b94b562.zip
Fix the build.
Build farm! Build farm! Please check the build farm! ...or at least run make torture. (This used to be commit 163ac344012d4520000f2ca91da50a379c7f288d)
Diffstat (limited to 'source3/torture/mangle_test.c')
-rw-r--r--source3/torture/mangle_test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/torture/mangle_test.c b/source3/torture/mangle_test.c
index ced0185c95..6d127a918e 100644
--- a/source3/torture/mangle_test.c
+++ b/source3/torture/mangle_test.c
@@ -94,8 +94,11 @@ static BOOL test_one(struct cli_state *cli, const char *name)
}
free(data.dptr);
} else {
+ TDB_DATA namedata;
/* store it for later */
- tdb_store_by_string(tdb, shortname, name, strlen(name)+1);
+ namedata.dptr = name;
+ namedata.dsize = strlen(name)+1;
+ tdb_store_by_string(tdb, shortname, namedata, TDB_REPLACE);
}
return True;