r4261 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Tue Sep 29 14:16:03 CEST 2009
Author: phk
Date: 2009-09-29 14:16:03 +0200 (Tue, 29 Sep 2009)
New Revision: 4261
Modified:
trunk/varnish-cache/bin/varnishd/varnishd.c
Log:
Unbreak the symbol-hack
Modified: trunk/varnish-cache/bin/varnishd/varnishd.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/varnishd.c 2009-09-28 14:20:12 UTC (rev 4260)
+++ trunk/varnish-cache/bin/varnishd/varnishd.c 2009-09-29 12:16:03 UTC (rev 4261)
@@ -418,7 +418,7 @@
VTAILQ_FOREACH(s, &symbols, list) {
if (s->a > pp)
continue;
- if (s0 == NULL || s->a < s0->a)
+ if (s0 == NULL || s->a > s0->a)
s0 = s;
}
if (s0 == NULL)
@@ -439,7 +439,7 @@
asprintf(&p, "nm -an %s", a0);
if (p == NULL)
return;
- fi = popen(buf, "r");
+ fi = popen(p, "r");
free(p);
if (fi == NULL)
return;
More information about the varnish-commit
mailing list