[rygel/wip/lms-tizen: 12/12] lms: fix database error code issue



commit 1a87ff38f0f0af3067ab7f19840c6886f7f0bd0d
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]