Commit ebd5b639 authored by Cecilie Fritzvold's avatar Cecilie Fritzvold

Forgot to remove this line (it was moved further down)


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1524 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 1b9ec978
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment