Mailing List Archive

r1524 - trunk/varnish-cache/bin/varnishd
Author: cecilihf
Date: 2007-06-15 11:27:29 +0200 (Fri, 15 Jun 2007)
New Revision: 1524

Modified:
trunk/varnish-cache/bin/varnishd/mgt_param.c
Log:
Forgot to remove this line (it was moved further down)


Modified: trunk/varnish-cache/bin/varnishd/mgt_param.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_param.c 2007-06-15 09:26:54 UTC (rev 1523)
+++ trunk/varnish-cache/bin/varnishd/mgt_param.c 2007-06-15 09:27:29 UTC (rev 1524)
@@ -512,7 +512,6 @@
/* 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));