1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Fix the build.

Build farm!  Build farm!  Please check the build farm!

...or at least run make torture.
This commit is contained in:
Jim McDonough 0001-01-01 00:00:00 +00:00
parent 117077b172
commit 36545ee9a7

View File

@ -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;