aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-profile-migration.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-03-09 09:31:25 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-03-10 00:06:53 +0800
commit2a1a987ae0deea9fcc86c7adaa33eb514e6873d1 (patch)
tree2085664b7b4ccbca6d1c3ed52e3a57620ff645c5 /lib/ephy-profile-migration.c
parent0c012fba8e9f3119e2fb66aac2baf39bce663fd4 (diff)
downloadgsoc2013-epiphany-2a1a987ae0deea9fcc86c7adaa33eb514e6873d1.tar
gsoc2013-epiphany-2a1a987ae0deea9fcc86c7adaa33eb514e6873d1.tar.gz
gsoc2013-epiphany-2a1a987ae0deea9fcc86c7adaa33eb514e6873d1.tar.bz2
gsoc2013-epiphany-2a1a987ae0deea9fcc86c7adaa33eb514e6873d1.tar.lz
gsoc2013-epiphany-2a1a987ae0deea9fcc86c7adaa33eb514e6873d1.tar.xz
gsoc2013-epiphany-2a1a987ae0deea9fcc86c7adaa33eb514e6873d1.tar.zst
gsoc2013-epiphany-2a1a987ae0deea9fcc86c7adaa33eb514e6873d1.zip
migration: don't store a trailing ) in realm
Realms where exported as "realm)" because of a missing -1. Bug #608687
Diffstat (limited to 'lib/ephy-profile-migration.c')
-rw-r--r--lib/ephy-profile-migration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-profile-migration.c b/lib/ephy-profile-migration.c
index 01a4a20f7..857d4a491 100644
--- a/lib/ephy-profile-migration.c
+++ b/lib/ephy-profile-migration.c
@@ -224,7 +224,7 @@ parse_and_decrypt_signons (const char *signons,
g_free (url);
start += strlen (realmBracketBegin);
- end_ptr = g_strstr_len (full_url, -1, realmBracketEnd);
+ end_ptr = g_strstr_len (full_url, -1, realmBracketEnd) -1;
end = g_utf8_pointer_to_offset (full_url, end_ptr);
realm = _g_utf8_substr (full_url, start, end);