Mercurial > noffle
diff src/database.c @ 170:ad4490c377a4 noffle
[svn] Fix bug in last change
author | enz |
---|---|
date | Wed, 28 Feb 2001 19:01:33 +0000 |
parents | 39838e7d38be |
children | fed1334d766b |
line wrap: on
line diff
--- a/src/database.c Wed Feb 28 18:59:00 2001 +0000 +++ b/src/database.c Wed Feb 28 19:01:33 2001 +0000 @@ -1,7 +1,7 @@ /* database.c - $Id: database.c 262 2001-02-28 18:59:00Z enz $ + $Id: database.c 263 2001-02-28 19:01:33Z enz $ Uses GNU gdbm library. Using Berkeley db (included in libc6) was cumbersome. It is based on Berkeley db 1.85, which has severe bugs @@ -628,7 +628,7 @@ flags = GDBM_NEWDB | GDBM_FAST; if ( ! ( tmpDbf = gdbm_open( tmpName, 512, flags, 0644, NULL ) ) ) { - Log_err( "Error opening %s for read/write (%s)", name, errMsg() ); + Log_err( "Error opening %s for read/write (%s)", tmpName, errMsg() ); Db_close(); return FALSE; }