summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-11-07 15:32:48 +0000
committerJim McDonough <jmcd@samba.org>2002-11-07 15:32:48 +0000
commitf3054fd405c6ad2c9c15d11ac276b502bcca7289 (patch)
treeb23ed6b7c49f8367f392bb9dbe31524c9c604a16
parent1486559181b6c0dd2a02bf05115d5903e2489367 (diff)
downloadsamba-f3054fd405c6ad2c9c15d11ac276b502bcca7289.tar.gz
samba-f3054fd405c6ad2c9c15d11ac276b502bcca7289.tar.bz2
samba-f3054fd405c6ad2c9c15d11ac276b502bcca7289.zip
Fix the build.
Build farm! Build farm! Please check the build farm! ...or at least run make torture. (This used to be commit 36545ee9a78146fa03d27fed6c7184d5fdadb2ab)
-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;