From 6aa52dfc22bdd6590d6288696648a48ddaf79294 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Mon, 5 Nov 2012 15:54:40 +0000 Subject: fix --- src/util/helper.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/util') diff --git a/src/util/helper.c b/src/util/helper.c index 372f8407e..0810fe180 100644 --- a/src/util/helper.c +++ b/src/util/helper.c @@ -420,8 +420,7 @@ GNUNET_HELPER_start (int with_control_pipe, h->binary_name = GNUNET_OS_get_libexec_binary_path (binary_name); else h->binary_name = strdup (binary_name); - for (c = 0; NULL != binary_argv[c]; c++) - c++; + for (c = 0; NULL != binary_argv[c]; c++); h->binary_argv = GNUNET_malloc (sizeof (char *) * (c + 1)); for (c = 0; NULL != binary_argv[c]; c++) h->binary_argv[c] = GNUNET_strdup (binary_argv[c]); -- cgit v1.2.3