X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=keydb_db4.c;h=899cd878467735ae8a57d5543a773c200334aa6d;hb=8b4052ad6015aa9f54c9c824f28655f230d09d8d;hp=04949d000ce90dd48a37401f12cf15855434530f;hpb=3eae5368f1c625257a93a18bec49a5a500b3f78e;p=onak.git diff --git a/keydb_db4.c b/keydb_db4.c index 04949d0..899cd87 100644 --- a/keydb_db4.c +++ b/keydb_db4.c @@ -6,7 +6,6 @@ * Copyright 2002-2004 Project Purple */ -#include #include #include #include @@ -249,8 +248,8 @@ bool starttrans(void) { int ret; - assert(dbenv != NULL); - assert(txn == NULL); + log_assert(dbenv != NULL); + log_assert(txn == NULL); ret = dbenv->txn_begin(dbenv, NULL, /* No parent transaction */ @@ -275,8 +274,8 @@ void endtrans(void) { int ret; - assert(dbenv != NULL); - assert(txn != NULL); + log_assert(dbenv != NULL); + log_assert(txn != NULL); ret = txn->commit(txn, 0);