summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/http.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-12-16 08:39:51 +0000
committerkib <kib@FreeBSD.org>2015-12-16 08:39:51 +0000
commit764a2409cb5541ae3a247c163556269e90a152bb (patch)
tree761b89f6580ed8e2e69eef77fc083157231df543 /lib/libfetch/http.c
parent2ae0fa54367a7d2d581cb9b2796991efb291293d (diff)
downloadFreeBSD-src-764a2409cb5541ae3a247c163556269e90a152bb.zip
FreeBSD-src-764a2409cb5541ae3a247c163556269e90a152bb.tar.gz
Simplify the loop step in the flushbuflist() and make it independed on
the type stability of the buffers memory. Instead of memoizing pointer to the next buffer and validating it, remember the next logical block number in the bo list and re-lookup. Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib/libfetch/http.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud