diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-15 17:25:12 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-15 17:25:12 +0100 |
commit | f51ddfac7b8948a43a40894185238c8a1ceeb5c4 (patch) | |
tree | 0142629fd34b2704f2d92a2f4d888ed0d82fc43f /src/crepe/facade/DB.cpp | |
parent | be1e97bc7a494963ab1567492fafcda99e36f683 (diff) |
wrap lines at column 95 instead of 80
Diffstat (limited to 'src/crepe/facade/DB.cpp')
-rw-r--r-- | src/crepe/facade/DB.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/facade/DB.cpp b/src/crepe/facade/DB.cpp index 0a2f455..bf877b5 100644 --- a/src/crepe/facade/DB.cpp +++ b/src/crepe/facade/DB.cpp @@ -19,8 +19,8 @@ DB::DB(const string & path) { this->db = {db, [](libdb::DB * db) { db->close(db, 0); }}; // load or create database file - if ((ret = this->db->open(this->db.get(), NULL, path.c_str(), NULL, - libdb::DB_BTREE, DB_CREATE, 0)) + if ((ret = this->db->open(this->db.get(), NULL, path.c_str(), NULL, libdb::DB_BTREE, + DB_CREATE, 0)) != 0) throw Exception("db->open: %s", libdb::db_strerror(ret)); |