r4324 - branches/2.0/varnish-cache/bin/varnishd
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Tue Oct 13 10:43:42 CEST 2009
Author: tfheen
Date: 2009-10-13 10:43:42 +0200 (Tue, 13 Oct 2009)
New Revision: 4324
Modified:
branches/2.0/varnish-cache/bin/varnishd/varnishd.c
Log:
Merge r4261: Unbreak the symbol-hack
Modified: branches/2.0/varnish-cache/bin/varnishd/varnishd.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/varnishd.c 2009-10-13 08:36:10 UTC (rev 4323)
+++ branches/2.0/varnish-cache/bin/varnishd/varnishd.c 2009-10-13 08:43:42 UTC (rev 4324)
@@ -445,7 +445,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)
@@ -466,7 +466,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