[rygel] lms: Fix database error code issue
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] lms: Fix database error code issue
- Date: Sun, 17 Jan 2016 21:32:48 +0000 (UTC)
commit 400e0ade58ca96157b1ca0a85766c298edd3099b
Author: Alexander Kanavin <alex kanavin gmail com>
Date: Tue Jan 13 14:40:45 2015 +0200
lms: Fix database error code issue
src/plugins/lms/rygel-lms-database.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/lms/rygel-lms-database.vala b/src/plugins/lms/rygel-lms-database.vala
index 53eb218..e898d66 100644
--- a/src/plugins/lms/rygel-lms-database.vala
+++ b/src/plugins/lms/rygel-lms-database.vala
@@ -107,7 +107,7 @@ public class Rygel.LMS.Database {
if (this.db.errcode () != Sqlite.OK) {
throw new DatabaseError.OPEN ("Failed to open '%s': %d",
db_path,
- this.db.errcode);
+ this.db.errcode () );
}
this.db.create_function ("contains",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]