From: Kevin Day Date: Wed, 11 Jul 2012 03:30:16 +0000 (-0500) Subject: Bugfix: properly initialize name_size string_length X-Git-Tag: 0.4.0~3 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=73febf85304fab424d91b3920ecdcda120074013;p=fll Bugfix: properly initialize name_size string_length --- diff --git a/level_2/fll_execute/c/execute.c b/level_2/fll_execute/c/execute.c index 0ebc98c..4554198 100644 --- a/level_2/fll_execute/c/execute.c +++ b/level_2/fll_execute/c/execute.c @@ -28,7 +28,7 @@ extern "C"{ f_string last_slash = f_string_initialize; f_string program_name = f_string_initialize; - f_string_length name_size = program_path; + f_string_length name_size = 0; last_slash = strrchr(program_path, '/');