From 73b4d7ebeda4e423173783dfdd154f9dc19f59e9 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 25 Oct 2005 09:29:39 -0500 Subject: fix issue with IM that causes commandlines that are executed to be incorrect. server-tools/instance-manager/instance.cc: terminate the new line buffer so our strcat's will work --- server-tools/instance-manager/instance.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server-tools/instance-manager/instance.cc') diff --git a/server-tools/instance-manager/instance.cc b/server-tools/instance-manager/instance.cc index 0756f0b4d9f..3d54d000d5f 100644 --- a/server-tools/instance-manager/instance.cc +++ b/server-tools/instance-manager/instance.cc @@ -180,7 +180,8 @@ static int start_process(Instance_options *instance_options, char *cmdline= new char[cmdlen]; if (cmdline == NULL) return 1; - + + cmdline[0]= 0; for (int i= 0; instance_options->argv[i] != 0; i++) { strcat(cmdline, "\""); -- cgit v1.2.1