$Log$
+ Revision 580.2 2001/07/11 17:01:10 ajc
+ * database_sleepycat.c: small changes to log messages
+
Revision 580.1 2001/07/11 04:35:40 nbryant
moved dret initialization in cdb_fetch, just in case
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
}
if ((ret != 0) && (ret != DB_NOTFOUND)) {
- lprintf(1, "cdb_fetch: %s\n", db_strerror(ret));
+ lprintf(1, "cdb_fetch(%d): %s\n", cdb, db_strerror(ret));
abort();
}
if (ret != 0) return NULL;
tempcdb = (struct cdbdata *) mallok(sizeof(struct cdbdata));
if (tempcdb == NULL) {
- lprintf(2, "cdb_fetch: Cannot allocate memory!\n");
+ lprintf(2, "cdb_fetch: Cannot allocate memory for tempcdb\n");
abort();
}
tempcdb->len = dret.size;