]> err.no Git - varnish/commitdiff
Forgot to remove this line (it was moved further down)
authorcecilihf <cecilihf@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 15 Jun 2007 09:27:29 +0000 (09:27 +0000)
committercecilihf <cecilihf@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 15 Jun 2007 09:27:29 +0000 (09:27 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1524 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/mgt_param.c

index f956f18e4e5fe67194091e3969122c8749a648dc..3d59ad291ba8f05fdbff1b59caec3b06a9f85387 100644 (file)
@@ -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));