aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-03-01 21:37:29 +0800
committerXan Lopez <xan@igalia.com>2012-03-07 04:49:45 +0800
commit06cc579811a66a12c0b476657fc19ac12bc24ba9 (patch)
treec6e6329f185a6933138a5b127d1ae6f7805bbfc5
parentf7ea2520ce135cf68f4aec730ca8b63885a45664 (diff)
downloadgsoc2013-epiphany-06cc579811a66a12c0b476657fc19ac12bc24ba9.tar.gz
gsoc2013-epiphany-06cc579811a66a12c0b476657fc19ac12bc24ba9.tar.zst
gsoc2013-epiphany-06cc579811a66a12c0b476657fc19ac12bc24ba9.zip
Retrieve the host id from the right column
-rw-r--r--lib/history/ephy-history-service-urls-table.c2
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 fe8d0d5e3..5473894d5 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;
}