Fixed header scanning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6531 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -408,7 +408,7 @@ hcache (TARGET *t, LIST *hdrscan)
|
||||
|
||||
/* 'c' points at the cache entry. Its out of date. */
|
||||
|
||||
l = headers1 (t->boundname, 0);
|
||||
l = headers1 (t->boundname, hdrscan);
|
||||
|
||||
c->time = t->time;
|
||||
c->age = 0;
|
||||
|
||||
@@ -75,7 +75,7 @@ headers( TARGET *t )
|
||||
|
||||
lol_add( &lol, list_new( L0, t->name, 1 ) );
|
||||
#ifdef OPT_HEADER_CACHE_EXT
|
||||
lol_add( &lol, hcache( t, var_get("HDRSCAN") ) );
|
||||
lol_add( &lol, hcache( t, hdrscan ) );
|
||||
#else
|
||||
lol_add( &lol, headers1( t->boundname, hdrscan ) );
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user