[epiphany] migration: don't store a trailing ) in realm
- From: Diego Escalante Urrelo <diegoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] migration: don't store a trailing ) in realm
- Date: Tue, 9 Mar 2010 16:15:15 +0000 (UTC)
commit 2a1a987ae0deea9fcc86c7adaa33eb514e6873d1
Author: Diego Escalante Urrelo <descalante igalia com>
Date: Mon Mar 8 20:31:25 2010 -0500
migration: don't store a trailing ) in realm
Realms where exported as "realm)" because of a missing -1.
Bug #608687
lib/ephy-profile-migration.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/ephy-profile-migration.c b/lib/ephy-profile-migration.c
index 01a4a20..857d4a4 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]