]> code.citadel.org Git - citadel.git/commitdiff
* database_sleepycat.c: small changes to log messages
authorArt Cancro <ajc@citadel.org>
Wed, 11 Jul 2001 17:01:10 +0000 (17:01 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 11 Jul 2001 17:01:10 +0000 (17:01 +0000)
citadel/ChangeLog
citadel/database_sleepycat.c

index 74e8853964d05e2821c4dc92e38b440a4c019b33..cfa621368f92f9cfcd0e2ee019b4acbd172008f4 100644 (file)
@@ -1,4 +1,7 @@
  $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
 
@@ -2565,4 +2568,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
-
index f148f611afc754f0edb4a61a24756e8bbdfbceb4..11ae71a12181fb1511a57882d1c9aa686bad1b02 100644 (file)
@@ -490,13 +490,13 @@ struct cdbdata *cdb_fetch(int cdb, void *key, int keylen)
        }
 
        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;