aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ephy-profile-migrator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ephy-profile-migrator.c b/lib/ephy-profile-migrator.c
index 934fc1143..ac991af64 100644
--- a/lib/ephy-profile-migrator.c
+++ b/lib/ephy-profile-migrator.c
@@ -840,8 +840,7 @@ store_form_auth_data_cb (GObject *object,
{
GError *error = NULL;
- ephy_form_auth_data_store_finish (res, &error);
- if (error) {
+ if (ephy_form_auth_data_store_finish (res, &error) == FALSE) {
g_warning ("Couldn't store a form password: %s", error->message);
g_error_free (error);
goto out;