projects
/
onak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e402a2
)
cscvs to tla changeset 71
author
Jonathan McDowell
<noodles@earth.li>
Mon, 31 May 2004 23:47:36 +0000
(23:47 +0000)
committer
Jonathan McDowell
<noodles@earth.li>
Mon, 31 May 2004 23:47:36 +0000
(23:47 +0000)
Author: noodles
Date: 2003/04/20 22:19:11
Change keydb dump to not log an error when we run out of keys.
keydb_db3.c
patch
|
blob
|
history
diff --git
a/keydb_db3.c
b/keydb_db3.c
index 0f4239bd212b37cb8621ce46ed799d807a9d166e..7ca5312612c5264aaba5fb38124f840cf6cc271b 100644
(file)
--- a/
keydb_db3.c
+++ b/
keydb_db3.c
@@
-759,7
+759,10
@@
int dumpdb(char *filenamebase)
memset(&data, 0, sizeof(data));
ret = cursor->c_get(cursor, &key, &data, DB_NEXT);
}
- logthing(LOGTHING_ERROR, "Problem reading key: %s", db_strerror(ret));
+ if (ret != DB_NOTFOUND) {
+ logthing(LOGTHING_ERROR, "Problem reading key: %s",
+ db_strerror(ret));
+ }
close(fd);