From: gu.martinm@gmail.com Date: Mon, 17 Mar 2014 09:26:48 +0000 (+0100) Subject: fixed error in create_args function X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=03f9ea3545e641fdb47e50c741c7523e450d2fac;p=JavaTCPFork%2F.git fixed error in create_args function --- diff --git a/Daemon/javafork.c b/Daemon/javafork.c index 9a23807..fb23f24 100644 --- a/Daemon/javafork.c +++ b/Daemon/javafork.c @@ -864,8 +864,8 @@ char** create_args(char *command) token = strtok(NULL, delim); } -end: args[args_count] = NULL; +end: return args; err: /*Release memory.*/