From: cecilihf Date: Fri, 15 Jun 2007 09:27:29 +0000 (+0000) Subject: Forgot to remove this line (it was moved further down) X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f2ee12273195eedcad1fa4275853f31ce9a8e5a;p=varnish Forgot to remove this line (it was moved further down) git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1524 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/mgt_param.c b/varnish-cache/bin/varnishd/mgt_param.c index f956f18e..3d59ad29 100644 --- a/varnish-cache/bin/varnishd/mgt_param.c +++ b/varnish-cache/bin/varnishd/mgt_param.c @@ -512,7 +512,6 @@ tweak_name(struct cli *cli, struct parspec *par, const char* arg) /* Check that the new name follows hostname convention */ /* [a-zA-Z0-9.-] */ asprintf(&old_path, "/tmp/%s", master.name); - master.name = strdup(arg); /* Create/rename the temporary varnish directory */ asprintf(&path, "/tmp/%s", arg); renaming = (!stat(old_path, &st_old) && S_ISDIR(st_old.st_mode));