We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b122ef commit 639dae3Copy full SHA for 639dae3
src/lsquic/request.lisp
@@ -37,11 +37,9 @@
37
(count-hdrs (length all-headers))
38
(pheaders (cffi:foreign-alloc '(:struct lsxpack-header) :count count-hdrs))
39
(http-headers (cffi:foreign-alloc '(:struct http-headers))))
40
-
41
(dotimes (i count-hdrs)
42
(let ((hdr (mem-aptr pheaders '(:struct lsxpack-header) i)))
43
(make-lsxpack-header hdr (elt all-headers i))))
44
45
(with-foreign-slots ((count headers) http-headers (:struct http-headers))
46
(setf count count-hdrs)
47
(setf headers pheaders))
0 commit comments