hdb-mitdb: correct missing equals in initialization
This commit is contained in:

committed by
Jeffrey Altman

parent
b860b70ada
commit
3bcc031939
@@ -1116,7 +1116,7 @@ krb5_error_code
|
|||||||
hdb_mitdb_create(krb5_context context, HDB **db,
|
hdb_mitdb_create(krb5_context context, HDB **db,
|
||||||
const char *filename)
|
const char *filename)
|
||||||
{
|
{
|
||||||
MITDB **mdb (MITDB **)db;
|
MITDB **mdb = (MITDB **)db;
|
||||||
*mdb = calloc(1, sizeof(**mdb));
|
*mdb = calloc(1, sizeof(**mdb));
|
||||||
if (*mdb == NULL) {
|
if (*mdb == NULL) {
|
||||||
krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
|
krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
|
||||||
|
Reference in New Issue
Block a user