r4534 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Fri Feb 5 09:58:30 CET 2010
Author: phk
Date: 2010-02-05 09:58:29 +0100 (Fri, 05 Feb 2010)
New Revision: 4534
Modified:
trunk/varnish-cache/bin/varnishd/cache_backend_poll.c
Log:
Stylistic nit.
Modified: trunk/varnish-cache/bin/varnishd/cache_backend_poll.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_backend_poll.c 2010-02-04 09:27:37 UTC (rev 4533)
+++ trunk/varnish-cache/bin/varnishd/cache_backend_poll.c 2010-02-05 08:58:29 UTC (rev 4534)
@@ -436,9 +436,10 @@
vt->backend = b;
vt->probe = *p;
+ p = &vt->probe;
+
if(p->request != NULL) {
- vt->req = strdup(p->request);
- XXXAN(vt->req);
+ REPLACE(vt->req, p->request);
} else {
vsb = vsb_newauto();
XXXAN(vsb);
More information about the varnish-commit
mailing list