use (cdr head) instead of (cdar cache), it's clearer
This commit is contained in:
parent
582e07bb18
commit
d62e069710
|
@ -61,7 +61,7 @@
|
||||||
(s-req (weak-pointer-ref (car head))))
|
(s-req (weak-pointer-ref (car head))))
|
||||||
(if s-req
|
(if s-req
|
||||||
(if (eq? s-req surflet-request)
|
(if (eq? s-req surflet-request)
|
||||||
(cdar cache) ; request is cached
|
(cdr head) ; request is cached
|
||||||
(loop (cdr cache))) ; request isn't cached
|
(loop (cdr cache))) ; request isn't cached
|
||||||
(begin
|
(begin
|
||||||
;; request object is gone ==> remove it from list
|
;; request object is gone ==> remove it from list
|
||||||
|
|
Loading…
Reference in New Issue