[epiphany/history-rewrite-second] Retrieve the host id from the right column



commit a3783607d5286ef4f7f58c4cffb3826db1d198bc
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Thu Mar 1 15:37:29 2012 +0200

    Retrieve the host id from the right column

 lib/history/ephy-history-service-urls-table.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/history/ephy-history-service-urls-table.c b/lib/history/ephy-history-service-urls-table.c
index fe8d0d5..5473894 100644
--- a/lib/history/ephy-history-service-urls-table.c
+++ b/lib/history/ephy-history-service-urls-table.c
@@ -209,7 +209,7 @@ create_url_from_statement (EphySQLiteStatement *statement)
 
   url->id = ephy_sqlite_statement_get_column_as_int (statement, 0);
   url->host = ephy_history_host_new (NULL, NULL, 0, 1.0);
-  url->host->id = ephy_sqlite_statement_get_column_as_int (statement, 7);
+  url->host->id = ephy_sqlite_statement_get_column_as_int (statement, 6);
 
   return url;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]