X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/2edb917ed0be24b4a525bef5aa346389afbd1be3..7b7cb978ab032edb192effcd9eac443d8800b565:/keydb_db3.c?ds=inline diff --git a/keydb_db3.c b/keydb_db3.c index 0f4239b..1aba919 100644 --- a/keydb_db3.c +++ b/keydb_db3.c @@ -4,6 +4,8 @@ * Jonathan McDowell * * Copyright 2002 Project Purple + * + * $Id: keydb_db3.c,v 1.16 2003/06/04 20:57:08 noodles Exp $ */ #include @@ -759,7 +761,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);