[epiphany] ephy-profile-utils: fix array length



commit cccd1f10983fb10278ca3612a1b20b04f0913b38
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Mon Sep 3 15:35:37 2012 +0300

    ephy-profile-utils: fix array length

 lib/ephy-profile-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c
index ae77712..d5caaa9 100644
--- a/lib/ephy-profile-utils.c
+++ b/lib/ephy-profile-utils.c
@@ -198,7 +198,7 @@ ephy_profile_utils_do_migration (int test_to_run, gboolean debug)
   GError *error = NULL;
   char *index = NULL, *version = NULL;
   int status;
-  char *argv[5] = { EPHY_PROFILE_MIGRATOR, "-v" };
+  char *argv[6] = { EPHY_PROFILE_MIGRATOR, "-v" };
   char *envp[1] = { "EPHY_LOG_MODULES=ephy-profile" };
 
   argv[2] = version = g_strdup_printf ("%d", EPHY_PROFILE_MIGRATION_VERSION);



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