1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

tdb: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Simo Sorce <idra@samba.org>
Autobuild-Date(master): Sat Feb 16 17:13:32 CET 2013 on sn-devel-104
This commit is contained in:
Volker Lendecke 2013-02-16 13:26:36 +01:00 committed by Simo Sorce
parent 10b96e3ffe
commit 05235d5b44

View File

@ -215,7 +215,7 @@ _PUBLIC_ struct tdb_context *tdb_open_ex(const char *name, int hash_size, int td
goto fail; goto fail;
} }
/* now make a copy of the name, as the caller memory might went away */ /* now make a copy of the name, as the caller memory might go away */
if (!(tdb->name = (char *)strdup(name))) { if (!(tdb->name = (char *)strdup(name))) {
/* /*
* set the name as the given string, so that tdb_name() will * set the name as the given string, so that tdb_name() will